Closed cforbesywam closed 3 years ago
Thank you for the post! I will fix it as soon as possible.
A fix was pushed awhile ago (74e64b2957dbcd93e7e74a87740043882c086e9a), but has not been pulled into the new site yet. I informed Joshua Project to update their code.
Great. Thank you! Colin
Blessings,
Colin
Colin Forbes IT Director Youth With A Mission Highfield Oval Harpenden, Herts AL5 4BX
Youth With A Mission Limited is registered in England & Wales Registered Company No. 1049516, Registered Charity No. 264078 Highfield Oval, Harpenden, Herts, AL5 4BX
From: Johnathan Pulos [mailto:notifications@github.com] Sent: 05 January 2015 23:41 To: MissionalDigerati/joshua_project_api Cc: cforbesywam Subject: Re: [joshua_project_api] API Documentation 'Try it out' URL is incorrect (#9)
A fix was pushed awhile ago ( https://github.com/MissionalDigerati/joshua_project_api/commit/74e64b2957dbcd93e7e74a87740043882c086e9a 74e64b2), but has not been pulled into the new site yet. I informed Joshua Project to update their code.
— Reply to this email directly or view it on GitHub https://github.com/MissionalDigerati/joshua_project_api/issues/9#issuecomment-68802686 . https://github.com/notifications/beacon/AJlOoyCp6xf-tzMaNE1WK4y4f6sY7cD9ks5nexijgaJpZM4DC7t5.gif
I was just perusing some issues and look like this one can be closed.
@fhightower Thank you. I updated the code on the site, and everything works now.
On the API documentation page http://api.joshuaproject.net/v1/docs/available_api_requests the 'Try it out' URLs point to http://jpapi.codingstudio.org however the Getting Started info show the API URL as http://api.joshuaproject.net (which works). None of the 'Try it out' buttons on the API Documentation page work due to the incorrect API URL and the example URL generate is also incorrect. For example the generated url is:
http://jpapi.codingstudio.org/v1/people_groups.json?api_key=API-KEY&continents=NAR&countries=CA
but it should be:
http://api.joshuaproject.net/v1/people_groups.json?api_key=API-KEY&continents=NAR&countries=CA