Testing
/api/test/hello
The /api/test/hello
endpoint is an unauthenticated endpoint that lets you test basic connectivity.
GET /api/test/hello
{
"msg": "Hello Data Fabric client!"
}
/api/test/auth
The /api/test/auth
endpoint can verify your auth credentials.
GET /api/test/auth \
-H 'Authorization: Basic YWRtaW46VmpadlZSMXV0ZW15WFhmZ1JkaUJuMG9G'
If successful, your authenticated principal is returned.
{
"principal": "af24a6cb-08d4-4f54-864d-177700b43316"
}
If unsuccessful, a 401 Unauthorized
is returned.
HTTP/1.1 401 Unauthorized