Changes

Jump to navigation Jump to search
612 bytes added ,  16:39, 29 November 2016
Line 1,962: Line 1,962:  
   
 
   
 
Example: http://world.openfoodfacts.org/cgi/product_jqm2.pl?code=0048151623426&user_id=usernameexample&password=*****&product_name=KIRI%2
 
Example: http://world.openfoodfacts.org/cgi/product_jqm2.pl?code=0048151623426&user_id=usernameexample&password=*****&product_name=KIRI%2
 +
 +
=== Authentification ===
 +
* user_id
 +
* password
 +
 +
WARNING: If the password is not correct, the API will currently "silently" fail, both for image addition and product data addition (will return HTML 200 code + an html page with a link to login - [http://world.openfoodfacts.org/cgi/product_jqm2.pl?code=0048151623426&user_id=usernameexample&password=*****&product_name=KIRI%2 example] )
 +
 +
==== Global account ====
 +
You can create a global account to let the users of your app contribute. please name it YourApp_app or something like that, so that we can spot them easily. Better yet, introduce yourself on Slack :-)
    
=== Manipulating photos for a product ===
 
=== Manipulating photos for a product ===

Navigation menu