I built a weather app it works fine on my local machine but after deploying the server to railway and frontend to netlify the http post method no longer send the body just the headed I mean when i try using json.laod to deserialize the body it throws an error when printed the the request body out it was empty Intially i thought it was probably netlify that was casuing the issue but after several days n hours of debugging i created a little snippet of the code that was when i knew it was http related The funniest thing my server can send to the frontend without stress but my frontend can do same once it on https Oh my good couldnt it be because i'm not using port 443 for https i've been using port 1998 for it so far i doubt though
Note:My backend connection is raw socket
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744235525a4564451.html
评论列表(0条)