SAP Knowledge Base Article - Public

3161400 - API response shows HTML and JavaScript not JSON

Symptom


When I am trying to make an API call the response does not have a form of a JSON document. I receive a mixture of HTML and JavaScript:


jsResponse Codetrue Glossar | Signavio ]]>




Resolution


Please check the request headers. The following headers have to be set as follows:

  • Accept = application/json
  • Content-Type = application/x-www-form-urlencoded
  • Cache-Control = no-cache



Keywords

KBA , BPI-SIG-CA-API , REST-API for SAP Signavio , How To

Product

SAP Signavio Process Manager all versions ; Signavio Process Manager all versions