- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Back-End POST Request get 302 redirect
Hey guys,
I have a custom module, where I declared a new route, which must be accessed by back-end (curl) post request. But in response I got 302 redirect, to same url with https (i need it to be http at the moment - localhost and dev domains problems)...
So i read a lot of forums and tried everything about url config, updating the values to 0 in db, setting all urls to http, not https - but still no success. It still redirects with 302 to https
Example: My url is http://localhost/magento/my_module/my_module/testurl. When I hit it, it gets 302 redirect ...
Thanks in advance.
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Back-End POST Request get 302 redirect
Hello @nikola_obreteno
Try to clear Magento and browser cache once after URL changes.
If still not works then can you share all URLs redirecting to 302 or specific?
https://www.manishmittal.com/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Back-End POST Request get 302 redirect
Hey,
I tried everything related to cache, static-deploy and etc. Nothing helps. My urls are in closed network and cant be accessed outside. I am still looking for answer ... no one has reported this kind of problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Back-End POST Request get 302 redirect
Hello @nikola_obreteno
Please host this site to any server and then share url with me so I can check. Without checking can not suggest you.
https://www.manishmittal.com/