MethodPathDescriptionBody
POST/api/v1/authGenerate a JWT token from HTTP Basic Auth headerNone

Generate Curl Commands

Curl Commands
                    
# Derive base64 from username and password
encoded=$(echo -n "$credentials" | base64)

# Authenticate against the API
curl -X POST -H "Authorization: Basic $encoded" -H "Content-Type: application/json" http://cloud.rapidrecast.io/api/v1/auth

# Alternatively use the base64 directly
curl -X POST -H "Authorization: Basic YWRtaW46YWRtaW4tcGFzc3dvcmQ=" -H "Content-Type: application/json" http://cloud.rapidrecast.io/api/v1/auth