Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect.post("oldURL", "new URL") is not working #38

Open
hairshkumar opened this issue Jun 1, 2023 · 0 comments
Open

redirect.post("oldURL", "new URL") is not working #38

hairshkumar opened this issue Jun 1, 2023 · 0 comments

Comments

@hairshkumar
Copy link

Hi Team,

am using redirect.post("/variable", "/:region/variable"); to redirect variable to new variable endpoint. but getting below error. Even the new url is there which is POST endpoint is working.

6894 [qtp1340842603-23] INFO spa.htt.mat.MatcherFilter - The requested route [/:region/variable] has not been mapped in Spark for Accept: [*/*]

Found that redirect internal assigned HTTP method to GET instead of POST due to which the new URL is not being found

21316 [qtp79709097-29] INFO Received request with region: path=http://localhost:4567/:region/variable, method=GET, region=:region attributes =null

Please help me which is the issue and why HTTP GET is used instead of POST when am trying to redirect POST endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant