mardi 6 mars 2018

Quasar framework uploader not sending image

Quasar Framework Image Uploader

I'm using Laravel 5 as an API and quasar framework for the front end of a website. I've implemented the QUploader component and it successfully makes a request to my images POST endpoint, though it appears there are no files defined within request()->hasFile(...) or $_FILES. I've tried setting additional headers to multipart/form-data and image/jpeg without success.

The component template is as follows.

<q-uploader
  :url="url"
  :extensions="extensions"
  :headers="headers"
  method="post"
  name="image"
  multiple
  auto-expand
  clearable
  send-raw
/>

This is a CORS request as defined here

I imagine I've missed something simple, though would appreciate the help.



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

Aucun commentaire:

Enregistrer un commentaire