Restful API Returns Webpage Instead of Actual Data

Document created by sheng_liao462475 Employee on Jan 6, 2017Last modified by chris_stevens on Feb 2, 2017
Version 2Show Document
  • View in full screen mode

Scenario

When using HTTP Client connector to pull data from endpoint, the response is a webpage instead of the actual formatted data, even though the configurations are correct and the same settings work fine in Postman.

 

Solution

Add the following to HTTP client operation page request headers.

Name: Accept

Value: The expected response content type. eg. text/xml

By adding the above header, it will specify the response content type.

Attachments

    Outcomes