DOCUMENTATION
Info! This is an example of a wrapper API using JavaScript (NodeJS).
Choose Your Language
Fetching Using Axios
PARAMETER
Parameter | Type | Description |
---|---|---|
file | file | The file to upload (multipart/form-data). |
URL | string | The API endpoint to be called. |
method | string | HTTP method to use, e.g., GET, POST. |
apikey | string | The API key for authentication. |
params | object | Query parameters to send in the request. |
headers | object | Custom headers for the request. |
data | object | Payload to send in POST/PUT request. |
timeout | number | Timeout duration for the request (optional). |
Example Response (Success)
{
"status": 200,
"result": {
"id": "12345",
"name": "Arifzyn",
"email": "arifzyn906@gmail.com",
"role": "premium",
"balance": 100000,
"limit": 5000
},
"message": "Data fetched successfully"
}