Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

However, this is actually good news! This confirms that the API request was received properly by the SRP HTTP Framework but it was rejected due to insufficient credentials. (Note: older browsers such as Internet Explorer do not display the JSON response as plain text in the window as seen above. Instead, by default they will attempt to download the JSON response as a file.)

We recommend that a good API test utility be used. This is critical for providing credentials, testing other HTTP methods (e.g., POST, PUT, PATCH, and DELETE), and sending up content for the API to process. Postman is a very popular GUI tool that is available on multiple platforms. It has a free license which will be sufficient for all your testing needs. There are other options such a cURL and various browser plug-ins. Here's what a test of the same endpoint looks like with our pre-installed "test" user credentials:

...