Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Uploading images using python-sdk's resource_post #57

Open
pabcordeiro opened this issue Feb 18, 2021 · 1 comment
Open

Uploading images using python-sdk's resource_post #57

pabcordeiro opened this issue Feb 18, 2021 · 1 comment

Comments

@pabcordeiro
Copy link

How do I pass the "content-type" and "file" parameters using the .resource_post method?
As in :

curl -X POST  -H 'Authorization: Bearer $ACCESS_TOKEN'  \
-H 'content-type: multipart/form-data' \
-F 'file=@FILE' \
https://api.mercadolibre.com/pictures/items/upload
@pabcordeiro pabcordeiro changed the title Uploading images using the python-sdk's resource_post Uploading images using python-sdk's resource_post Feb 18, 2021
@gusarg81
Copy link

In my case I had to create my own function for this, since from the maintainer zero response.

Anyways, this repo is not maintained anymore...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants