You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Issues with connection returning JSON.stringfy format w/ Content-Type text/javascript - how to pars

edited May 3, 2021 1:01PM in Visual Builder 2 comments

Summary

parsing connectin response with JSON.parse

Content

Hi all,

Just returning to VBCS and I checked a problem I had from the early VBCS days on. It seems to be still valid.

I am wondering how to interfere with the connection response that is no JSON and how to make it consumable with VBCS. If you take Apple's iTunes API, eg. https://itunes.apple.com/search?term=Beatles&country=de&media=music&limit=3&lang=de,  you will see that the response is a stringified JSON w/ content-type text/javascript; charset=utf-8. All I need to do is to wrap this response with JSON.parse, but I don't see any hook to modify this response. Can anyone please advise?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!