0

I try to upload an image by rest API in Magento 1.9 version but getting "invalid content-type' error.

Can any one help me for the same?

3
  • please check your content type like : ‘Content-Type’: ‘application/json’ Jul 26 '19 at 5:11
  • Not getting your point exactly, all other API is working only image upload not working or in other words if i set "multipart/form-data" in content-type then i get above error. Jul 26 '19 at 7:56
  • @VishalBansal Have you got any solution for uplaod image via rest api without base64 ? Nov 24 '20 at 5:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.