-
Suggestion
-
Resolution: Low Engagement
-
-
Jira Software
When sending a web request, if the server responds with content-type header different from application/json, the JSON parser won't consider it as a JSON object, hence dot notation won't work.
E.g:
This will return empty for webResponse.body.name
vs:
This will work:
Workaround
- Change the server's header content-type to application/json
- Use regex to get the data from webResponse.body