Skip to content

image doesn't load in the sample app #11

@saif-shines

Description

@saif-shines

let comicPayload = await client.request.get('https://xkcd.com/info.0.json', options);

When running the app as it is.

The following error is generated in the fdk.log file


2021-10-19 10:25:06.509 +0530 [debug] (�[34mproxy.js�[0m) �[31mMaking proxy call with options as {"client":true,"url":"https://xkcd.com/info.0.json","method":"get","whitelistedDomains":["https://xkcd.com"],"maxAttempts":1,"retryDelay":0,"timeout":5000}�[0m
2021-10-19 10:25:06.666 +0530 [debug] (�[34mproxy.js�[0m) �[31mProxy came back with error as null, body as "{\"month\": \"10\", \"num\": 2530, \"link\": \"\", \"year\": \"2021\", \"news\": \"\", \"safe_title�[0m
2021-10-19 10:25:06.667 +0530 [debug] (�[34mproxy.js�[0m) �[31mLooking for "application/json" in application/json,application/xml,text/html,text/xml,application/jsonp,text/plain,application/javascript,application/vnd.api+json�[0m

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions