Fetch 200 but response body empty
Sometimes when making a request, the request body is working fine and sometimes the body is empty.
I know my api is fine because i tested it a lot with postman
I found that if I put req.clone and await clone.text() the response body always returns even though I am not doing anything with the clone I just added that code
This is nextjs api server request
any ideas??
0 Replies