...
For this example, there are no parameters so just click Execute to test the endpoint.
Section |
---|
Column |
---|
Image RemovedImage Added |
After running the test the panel will update with several responses. - Curl - This box will present the Curl command that can be run to consume the REST endpoint
- Request URL - the URL of the request. In the case of a GET request this URL can be copied and pasted into the Address bar of your browser to test the endpoint directly from the browser.
- Server response - The server response section includes the HTTP code returned as well as the Response body and headers.
- Response body - In this case the response body includes our parameter with the Hello World message.
- Response headers - includes all of the headers returned from the server
- The Response section shows what response types should be expected including any default values that were defined in the parameters.
|
Live Test
The API endpoints are live as soon as they are saved. As mentioned above, for a simple GET endpoint you can test the endpoint in your browser by copying the Request URL and pasting it in your browser address bar.
Image Added