hankhank10 / alpine-fetch

Straightforward interactive HTTP requests from within your Alpine.JS markup
GNU General Public License v3.0
71 stars 4 forks source link

How to seHow to set up X-Requested-With #4

Open jet10000 opened 10 months ago

jet10000 commented 10 months ago

How to set up X-Requested-With: XMLHttpRequest , I want to use it with django-ajax.

https://github.com/yceruto/django-ajax/

Or add $fetchajax for ajax request?

Or How to access response headers or status code?

Thanks