Reputation: 21
Based on a webhook connector my flowground flow gets data from a REST-API (rest-api-component) and passes it through via HTTP-Replay connector.
The Mapping Result in my HTTP-Reply connector shows the correct response in HTML, but firefox shows the error:
JSON.parse: unexpected character at line 1 column 1 of the JSON data
The crazy thing is, when I inspect the plain response, the HTML is delivered correctly from the flowground webhook...
Upvotes: 1
Views: 37
Reputation: 21
I have found the problem:
by default the response header is application/json.
This can be changed in the "Configure input" tab to
"text/html"
Upvotes: 1