To connect to the API a HTTP request has to be made at the API location.
The API is available on two different locations; a production environment and a test environment.
Production: https://customer-api.webglobe.rs/api/
Test: http://demo.customer-api.webglobe.rs/api/
The API supports GET, POST and DELETE requests. GET is used to query the system (retrieve information). POST is used when modifying data (e.g. update a domain). DELETE is used to delete objects.
For POST requests, the body of each request should be entirely JSON encoded.
For further documentation about JSON please visit: JSON.org
All leading and trailing white spaces from string based values will be stripped.
The API responses will be JSON encoded as well.
To get Bearer token contact us on domains@webglobe.rs email
The generated Bearer token is used in the Authorization header in the following manner:
Authorization: Bearer u3z2SjyEFoUTnoXg0bomkIq6iUNd6p7scw097awogmFHjBVDnDU3
Most commands require additional parameters to be supplied with the request.
For example a domain create command requires nameserver data and contact handles.
Those parameters should be supplied inside the JSON body of the POST request.
A list of all available parameters for each request can be found at the specific request pages.