๐Authentication
Overview
1. Encode your email:password as base64
2. Add Authorization: Basic <base64> header to each request
3. Make Dispatcher API requestsgraph LR
A[Your App] -->|Basic Auth Header| B[Dispatcher API]
B -->|Service Response| ABasic Authentication Header
Header Format
Authorization: Basic <base64(email:password)>How to Create the Header
Response (Success)
Response (Error)
Code Examples
curl
Node.js (fetch)
PHP (Guzzle)
Java (HttpClient)
Encoding Base64
Command Line (bash)
Node.js
PHP
Java
Security Best Practices
1. Never Hardcode Credentials
2. Store Credentials Securely
3. Use HTTPS Only
4. Rotate Credentials Regularly
5. Handle Authentication Errors
Common Authentication Errors
401 Unauthorized
403 Forbidden
429 Rate Limit
Next Steps
Support
Last updated