Example Postman Requests

In this article


GET Request

  • Enter the API endpoint as the request URL
  • Under the Params section, add any filters as query parameters; any includes should be entered as a single parameter with a comma-separated list of the includes as the value
  • Under the Scripts section, paste the contents of the example postman_get_prerequest.txt file into the Pre-request tab
  • Replace the placeholder text in the prerequest script with the API identifier and secret

top


POST Request

  • Enter the API endpoint as the request URL
  • Under the Scripts section, paste the contents of the example postman_post_prerequest.txt file into the Pre-request tab
  • Replace the placeholder text in the prerequest script with the API identifier and secret
  • Declare variables for any parameters, and include these in the body variable of the prerequest script; filters and includes should be declared as an array and passed into the "filter" and "include" keys of the body respectively
  • Under the Body section, select the "raw" encoding option and replicate the body's content as plain text

top

Still need help? Contact Us Contact Us