Jan 14, 2018
0
Level 10
Unable to send REST request to Laravel API with Image upload
Hello,
I would like to know if anyone can see an error as I cannot manage to upload my image using this REST Client.
The bearer token is fine but the siteimage is causing problem.
Eacht ime I get the error: {"siteimage":["The siteimage must be an image.","The siteimage must be a file of type: jpeg, png, jpg."]}
I have also built the request with Content-Type: image/jpeg but no luck.
https://www.screencast.com/t/egJq61Q1
Thanks in advance.
ps: I Cannot upload image in the post? Is it normal?
Please or to participate in this conversation.