Changes

Jump to navigation Jump to search
2 bytes added ,  22:17, 24 October 2015
Line 41: Line 41:     
=== Posting a new product ===
 
=== Posting a new product ===
* Product post to http://fr.openfoodfacts.org/cgi/product_jqm2.pl <sup>(remember to do tests on .net)</sup>
+
* Product post to http://world.openfoodfacts.org/cgi/product_jqm2.pl <sup>(remember to do tests on .net)</sup>
 
** var foodfact = { barcode : '3073780969000', name : 'KIRI GOUTER 280G 8 PORTIONS', energy: 500, energy_unit: "kJ", weight: 282 };
 
** var foodfact = { barcode : '3073780969000', name : 'KIRI GOUTER 280G 8 PORTIONS', energy: 500, energy_unit: "kJ", weight: 282 };
 
** var postData = {
 
** var postData = {
Line 56: Line 56:     
<br>Example: <sup>(remember to do tests on .net)</sup><br>
 
<br>Example: <sup>(remember to do tests on .net)</sup><br>
<pre> http://world.openfoodfacts.org/cgi/product_jqm2.pl?code=3073780969000&user_id=usernameexample&password=*****&product_name=KIRI%20GOUTER%20280G%208%20PORTIONS&quantity=282%20g&stores=Intermarch%C3%A9&nutriment_energy=500&nutriment_energy_unit=kJ&nutrition_data_per=serving</pre>
+
<pre>http://world.openfoodfacts.org/cgi/product_jqm2.pl?code=3073780969000&user_id=usernameexample&password=*****&product_name=KIRI%20GOUTER%20280G%208%20PORTIONS&quantity=282%20g&stores=Intermarch%C3%A9&nutriment_energy=500&nutriment_energy_unit=kJ&nutrition_data_per=serving</pre>
    
== API Redesign ==
 
== API Redesign ==

Navigation menu