If you are looking to POST data files via the API but are stuck with the error "There is no file attached to this request"
If you are using an API tool like Postman or ThunderClient
- Choose Body tab: Click on the Body tab, and select binary
- Upload the file: Click on the Select File button, and your operating system will prompt you to choose a file.