New answers tagged

0 votes
Accepted

Ajax response no longer returns true after updating to craft 4

Controllers in Craft 4 generally use the asSuccess and asFailure methods, which return 200 and 400 status codes respectively, in response to JSON requests. Both methods also send a message parameter ...
user avatar
  • 6,226

Top 50 recent answers are included