I'm getting this error when making an ajax request from an AMP form to the Laravel 5.6 controller. I used a similar approach like in this question: Making an XHR request from AMP-HTML contact form to Laravel 5.4. 500 ERROR
But I get the following error in my console when I hit submit on a normal search form: [amp-form] Failed to parse response JSON: SyntaxError: Unexpected token < in JSON at position 0
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire