Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the image upload by mentionning it's a Multipart field #32

Open
teolemon opened this issue Sep 15, 2021 · 2 comments
Open

Clarify the image upload by mentionning it's a Multipart field #32

teolemon opened this issue Sep 15, 2021 · 2 comments

Comments

@teolemon
Copy link
Member

Clarify the image upload by mentionning it's a Multipart field
as reported by @ocervell

@teolemon
Copy link
Member Author

@ocervell
Copy link
Contributor

I think the API route in the request example is still wrong, the correct request should be:

curl -u off:off -F "code=1234567890123" -F "imagefield=front_fr" -F "imgupload_front_fr=@/Users/ocervello/Downloads/1631031226333.jpg" https://fr.openfoodfacts.net/cgi/product_image_upload.pl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants