diff --git a/README.md b/README.md index cffd692..7784269 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The CTA API can be fairly trivially queries to get a JSON response with the requ To query XML: https://lapi.transitchicago.com/api/1.0/ttarrivals.aspx?key=&mapid= To query JSON: https://lapi.transitchicago.com/api/1.0/ttarrivals.aspx?key=&mapid=40380&outputType=JSON - Simple HTTP POST queries use the '?' to define start of parameters, and each parameter is seperated by an '&' + Simple HTTP queries use the '?' to define start of parameters, and each parameter is seperated by an '&' In the above, we are querying the 'ttarrivals' endpoint, used for the Arrivals API KEYID is your API key MAPID is the ID of a station on the CTA, such as "40380". These station numbers are available on the ttdocs website.