Next.js Discord

Discord Forum

Problem with request

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
I have a problem making a request to my api, the request is simply not arriving at the api and everything is running

7 Replies

Have you tried using fetch()? @Transvaal lion
@B33fb0n3 Have you tried using fetch()? <@665200472596152341>
Transvaal lionOP
yes, it does the same thing
@Transvaal lion yes, it does the same thing
if you enter the full url into your browser would you get a 401 error?
if you run this request clientside, can you see it in your network tab?
Transvaal lionOP
When you see it in the network tab, it says status 200, stating token or not
and no test console.log is output in the backend