jeudi 13 février 2020

Making an XHR request from AMP-HTML contact form to Laravel 5.6 Unexpected token < in JSON at position 0

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



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2vwjPIA
via IFTTT

Aucun commentaire:

Enregistrer un commentaire