sotb
sotb
CDCloudflare Developers
Created by sotb on 11/1/2023 in #workers-help
Trying to do a POST redirect in a Worker
Hello, I am trying to recreate a POST redirect in a worker. So the user POST data to a worker and I want to redirect them to another page. But when the response gets to the browser the location header is removed and the redirect isn't working. There is a current implementation of this functionality working in another backend server but I wanted to move it to a worker. I just wanted to know if anyone knows for sure if this will or won't work in a worker? I've been spinning my wheels the last couple of days to try and get it working.
3 replies