EXAMPLE
We will know more about the API through the example below:
Request
I will call API to create new Agent:
Code Block |
---|
curl \
-X POST -d "{ \"password\": \"123456\", \"address\": \"TMA\", \"company\": \"TMA\", \"client_name\": \"DN123\", \"username\": \"vn303\", \"main_email\": \"[email protected]\", \"noc_email\": \"[email protected]\"}" \
"http://88.99.175.131:8000/v1/auth/registration/create"
|
Response
Code Block |
---|
{
"object_id": 263,
"success": true
} |