Test with Postman

  1. Download and install Postman from here.

  2. Launch Postman, and sign-in or create an account.

  3. If you are new to Postman, create a new Request (you may need to create a new Workspace first).

  4. Change "GET" to "POST":

  5. Enter the endpoint in the "Enter request URL" text

    • For on-premises installations (your network/environment), this might look like this):
      http://localhost:<portnumber>/rest/FoodQueryService.svc/ListNutrients

    • For ESHA Cloud hosted, enter the API URL location provided to you in the encrypted email

  6. Authorization:

    • For on-premises installations, if you’ve setup User Authentication, per the Security Genesis API document, you will need to provide the credentials in the Authorization section of Postman

    • For ESHA Cloud hosted, Basic Auth has been setup and is required for the Request.

      • Select the ‘Authorization’ tab

      • Select Basic Auth from the Type area

      • Enter the proper username and password

  7. Select the "Body" tab and then click the "Raw" radio button:

  8. In the empty text box below, enter "request={}" (without the quotes):

  9. Click the blue "Send" button.

  10. You should get a response in the "Response" section with a Status of "200":