I have a simple post request with axios to php script which renders some pdfs and should return a String. Now I got this error: I set this in my php file: With no changes. also tried this: also no changes. my axios call looks like this: What could solve this? Thanks in advance Answer A working solution for me
Tag: axios
API requests with axios always unauthorized with Laravel API
I’m working on a personal project using Laravel 5.6 and Axios library (standard Laravel 5.6 package). I need to send first GET then POST request using Laravel’s API and axios’ http requests, but I’m …
POST file along with form data Vue + axios
I have a method for Vuejs component: async submit () { if (this.$refs.form.validate()) { let formData = new FormData() formData.append(‘userImage’, this.avatarFile, this….