Cherwell API Troubleshooting Page

 

Proper looking request should be similar to the following:

URL: [Server]/CherwellAPI/token{ optional ?auth_mode=xxxx }

HEADERS:

Content-Type: x-www-form-urlencoded

RAW BODY CONTENT:

grant_type=password&client_id=xxx&username=domain%5Cusername&password=xxx

Note that if domain is included, username is prefixed with %5C in place of the \ char.


Test Form

If not working on this page from localhost on the cherwell server, edit this HTML document and change the URL located directly above this text in the HTML file.





^ This web form will automatically URL encode special characters in username and password.
In YOUR api calls, you will need to do this on your side.


400 Bad Request Response Message

If you are receiving this message, you can be certain there is no firewall blocking the connection.

Rather, something may be wrong with the content of your request, such as:

 

Timeout