I am trying to access my external MySQL database to pull down some data using GET. I am testing out Arrest MySQL, seems simple enough.
The Arrest documentation specifies that to get the data from the database I need to call:
code
GET http://api.example.com/customers/123
/code
Where:
db name = customers
row ID = 123
But the problem is that I don't know how to structure this for the REST service that I am creating. In SETTINGS, I have entered the url http://api.example.com and selected Method: GET and Datatype: JSON. It tests ok, but the can't find the database.
When I put the "customers/123" on the end as part of the database descriptor, it fails and says that it cannot find the URL (no surprise, it does not exist). Do I need to specify a request parameter?
I really have no idea what I am doing here so any direction is appreciated.