So I’m trying to use Meteor.http.call to get and store a json-ld response. However at the moment the data object in the result is null. The content string though is populated with the full response.
The docs suggest this is due to meteor not being able to understand that this is still a json file:
data Object or null
If the response headers indicate JSON content, this contains the body of the document parsed as a JSON object.
This is the header for the Content-Type I’m getting back:
which is not interpreted by HTTP.call as valid Json type… So I have to manually parse the content. Not a big deal, but it seem there is a bug HTTP.call?