Search posts, tags, users, and pages
Yes, for localhost and non-https endpoints, turn on Proxy mode from settings.
Liyas Thomas how come proxy enables this? Maybe the function could be renamed or there could be me something called enable local?
Emil Moe ohh sorry, i got confused with your comment. To access local APIs there's no need of proxy, just mention localhost IP and port number along with path.
I don't know if it's because my web application is served from Docker on my local machine, although it works with Postman, but I get a network error when I try to execute a GET at localhost?
646dc790af19e6fe4b3c.js:1 Error: Network Error
at t.exports (e70ddc808921fc787eeb.js:2)
at XMLHttpRequest.m.onerror (e70ddc808921fc787eeb.js:2)
(anonymous) @ 646dc790af19e6fe4b3c.js:1
localhost:3000/localhost/:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
Maybe it's a security issue with Chrome?
Emil Moe i think it's a pre-flight use case for non-https endpoints on Chrome to send/receive requests from non-secured source. Try hosting your endpoints locally rather than Docker.
Liyas Thomas Unfortunately that's not possible :(
Emil Moe raise an issue ticket on GitHub and we'll further investigate on what we could do to solve your issues