Hi,
I need to invoke a rest webservice to get the name of a product. How shoud I do with http plugin?
Example query
http://api.ean-search.org/api?token=abc ... 9750442227
Example response
<?xml version="1.0" encoding="UTF-8"?>
<BarcodeLookupResponse>
<product>
<ean>5099750442227</ean>
<name>Michael Jackson - Thriller</name>
</product>
</BarcodeLookupResponse>
In case the barcode can not be found, the API returns
<?xml version="1.0" encoding="UTF-8"?>
<Error>Barcode not found</Error