Test the API using cURL
Testing the API out? We recommend using cURL. hurl.it is an easy to use online cURL client.
Your helpdesk comes with a controller called Test that lets you test your client against your helpdesk's API. The controller will simply echo back the arguments passed to it, as well as the POST argument data. The path to the test controller is /Core/TestAPI.
The following functionality is supported by the test controller:
Action |
Path |
Arguments |
---|---|---|
GetList |
GET /Core/TestAPI |
(none) |
Get |
GET /Core/TestAPI/$id$ |
id : A numeric identifier of an item to retrieve |
Post |
POST /Core/TestAPI |
(none) |
Put |
PUT /Core/TestAPI/$id$ |
id : A numeric identifier of an item to update |
Delete |
DELETE /Core/TestAPI/$id$ |
id : A numeric identifier of an item to delete |
Gurpreet Singh