Welcome Guest, Not a member yet? Register   Sign In
ajax request 404 error
#3

(This post was last modified: 09-22-2022, 02:10 AM by superior.)

See: https://codeigniter.com/user_guide/general/ajax.html

On your ajax part you would add headers to support this.

edit:
It also depends on what the URL in your routes is accepting, if for example you use the get() method.
Personally i would use (and i'm using this) the url_to() for this part.

> routes - https://codeigniter.com/user_guide/incom...al-options
> url_to() - https://codeigniter.com/user_guide/helpe...tml#url_to
Reply


Messages In This Thread
ajax request 404 error - by bazianm - 09-21-2022, 09:16 AM
RE: ajax request 404 error - by JustJohnQ - 09-21-2022, 01:15 PM
RE: ajax request 404 error - by superior - 09-22-2022, 02:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB