I have a chrome extension which uses react/axios. In that app I\'m sending a post request like so:
export const createComment = payload => {
const url =
In general this happens because i) the original POST request is redirected by the server for some reason and ii) chrome dev tools hides the initial POST request for some unknown reason in this case. Typical issues are:
302 redirect
.http
which the server redirects to https
with a 301
or 302
.However there could be other reasons so you should inspect the HTTP requests going to your server to understand what's going on. A general tool like tcpflow
is suitable. On nginx you can tail the access.log
file. The idea is to understand what happens to the POST request so that the underlying issue can be corrected.