You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use node-http-proxy (through grunt-proxy) to bypass SOP on my single page app (hosted on localhost:9000), but when I POST on /resources I keep having rejected request because of SOP, even using the hostRewrite option as follows :
My backend implements a
POST
tohttp://api.domain.com/resources
with the following response :Status Code : 303 See Other
Location header : http://api.domain.com/resources/resourceId
I use node-http-proxy (through grunt-proxy) to bypass SOP on my single page app (hosted on localhost:9000), but when I
POST
on/resources
I keep having rejected request because of SOP, even using the hostRewrite option as follows :Digging into node-http-proxy code I found this test on response code in
setRedirectHostRewrite
precondition :Why not add
303
to this condition ?The text was updated successfully, but these errors were encountered: