Skip to Content
3. Security

Security

Every request to RoyalGaming service. Please provide credential to call service in headers this:

FieldTypeDescription
x-auth-idStringAgent username
x-auth-keyStringAgent API key

Example request (Node.JS)

const = await fetch("<API_PATH>/player/register", { method: "POST", body: JSON.stringify({ ... }), headers: { "Content-Type": "application/json", // !!! Provide this !!! "x-auth-id": "AGENT_USERNAME", "x-auth-key": "AGENT_API_KEY" } })
Last updated on