Welcome Guest, Not a member yet? Register   Sign In
Cannot get AJAX to work for Post/Create
#8

(06-05-2022, 03:05 AM)iRedds Wrote: Speaking of the browser console, I meant the network section.
There you can see each request made by the browser (request and response headers, sent data and response body)

If the data is a send, then $_POST or request->getPost() must contain the data.
Perhaps some filter replaces the request class.

I checked the NETWORK tab and under PAYLOAD it shows;

csrf_token_mamamia=[token-snip]&description=canada

under headers, I see;

Request Method: POST
Status Code: 200 OK

under response I see;

{"success":false,"msg":"There are some validation errors"}
Reply


Messages In This Thread
RE: Cannot get AJAX to work for Post/Create - by spreaderman - 06-05-2022, 07:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB