Page tree
Skip to end of metadata
Go to start of metadata

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

  • No labels