Quote:
Originally Posted by pimathbrainiac
EDIT: It appears that there is something wrong with the API, or the way it works. When I use this url in chrome, I get the response data. When I use the same URL In Java, I get error code 400. Any ideas?
|
Are you supplying the proper "X-Tba-App-Id" header to identify your request? I can run the following command and get the proper response back.
Code:
curl --header "X-Tba-App-Id:foo:baz:baz" http://www.thebluealliance.com/api/v2/events/2014
If you need some help with using the API through java, take a look at
this file in the TBA Android app - it should be a good starting point.