Skip to content

JSON body returned as string instead of JSON #2

@johanforssell

Description

@johanforssell

Using the latest 0.6.2 from npmjs.com!

makeProxiedCall() have multiple calls to res.json(body);.

For some reason this is not working correctly for me - I'm getting back the json data as a string. If I json-parse the body before using it I get correct data. Like so:

res.json(JSON.parse(body));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions