Skip to content

Using API to add an image to an item #1100

Answered by benjaminjonard
joeltoumi asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, the problem is that the endpoint isn't expecting base64 encoded files. I don't know much about Python but I think this would be the right way to do it : https://requests.readthedocs.io/en/latest/user/quickstart/#post-a-multipart-encoded-file

Hope this helps you, if not I'll try to investigate on my end

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joeltoumi
Comment options

Answer selected by joeltoumi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants