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, 2019 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, 2019 at 7:56
  • @VishalBansal Have you got any solution for uplaod image via rest api without base64 ? Nov 24, 2020 at 5:50

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.