Not a question anymore
I was given this:
GET api/Products?apiKey={apiKey}
It returns all of the products available among all shops in an airport in this format(application/json, text/json):
[
{
"ProductShop": {
"AirportName": "sample string 1",
"ADCShopCode": "sample string 2",
"libShop": "sample string 3",
"StorePhoneNumber": "sample string 4",
"idPoi": 5,
"PoiName": "sample string 6"
},
"productActivity": "sample string 1",
"productBrand": "sample string 2",
"ProductFamily": "sample string 3"
},
... ]
So to be able to access the data from this API I would need to define this in the request URI (I think), How can I do that and how can use this external data for my app ?
Please, can you be clear in your answer as to where should I define the parameters to connect the API in a rails app.
Thanks.
EDIT: What help me (I am a beginner):