I am trying to add media to the library via the API. I am using postman, and am able to get a token and retrieve various pieces of data via the API.
I am now trying to upload an image, and am getting this error:
{“files”:[{“name”:“1535143374-0032”,“size”:100279,“type”:“multipart/form-data; boundary=--------------------------005954883975465110847801”,“error”:“Filetype not allowed”}]}
The actual image file types I’ve tried are jpg and png.
It’s all explained in our API introduction guide, there is also postman collection link there with several calls, including library upload - API Introduction with Postman