Getting Status Code: 307 Temporary Redirect with an ajax get request [SOLVED] |
12-17-2019, 09:50 PM
(This post was last modified: 12-19-2019, 12:56 PM by Nilheim. Edit Reason: The problem was solved )
Hello, can someone help? Why do I get a temporary redirect status code when I try to make a get request type in an ajax call?
I'm working in this JS code: Code: $('#menu').on('click', 'a', function (event) { The url is well formed, I got this: "http://localhost.scbmk.pro/rol", wich is ok because I have a controller named "rol" and the default method is set to index in app config. But trying to access to that url via get request doesn't work, it makes a temporary redirect. When accessing via post request the url works perfect, why is this? Do I need to make changes in app conf? remapping route? please heeeeeeeeelp I'm working with CI version 4.0.0-rc.3 |
Messages In This Thread |
Getting Status Code: 307 Temporary Redirect with an ajax get request [SOLVED] - by Nilheim - 12-17-2019, 09:50 PM
RE: Getting Status Code: 307 Temporary Redirect with an ajax get request - by tgix - 12-18-2019, 03:55 AM
RE: Getting Status Code: 307 Temporary Redirect with an ajax get request - by Nilheim - 12-18-2019, 02:16 PM
RE: Getting Status Code: 307 Temporary Redirect with an ajax get request - by tgix - 12-18-2019, 11:59 PM
RE: Getting Status Code: 307 Temporary Redirect with an ajax get request - by InsiteFX - 12-19-2019, 04:12 AM
RE: Getting Status Code: 307 Temporary Redirect with an ajax get request [SOLVED] - by kelwein - 12-19-2019, 08:13 PM
RE: Getting Status Code: 307 Temporary Redirect with an ajax get request [SOLVED] - by Nilheim - 12-20-2019, 05:10 PM
RE: Getting Status Code: 307 Temporary Redirect with an ajax get request [SOLVED] - by nancychandler340 - 04-21-2022, 03:48 AM
|