I want to send an image file using REST API in Drupal 8 along with a registration form. I have built a custom API to save the registration form.
For the files i have created another API to save data using HEADERS Content-Type : multipart/form-data and update the registration form with fid after saving it.
When i send the file using POSTMAN Chrome extension to check API, i dont get the file data in
$request->files->get('image_name') in my Controller. What may be the reason?