Examples

Examples

1. Create a New User (Admin Only)

Request:

POST /create-user HTTP/1.1
Host: api.example.com
Authorization: Basic YWRtaW46U2VjdXJlUGFzczE=
Content-Type: application/json

{
  "username": "john_doe",
  "password": "SecurePass1"
}

Response:

{
  "message": "User created successfully."
}

2. Assign an API Key to a User (Admin Only)

Request:

Response:

3. Upload a PDF (Authenticated User)

Request:

Response:

4. Get Processing Response

Request:

Response:


Last updated