You need to sign in to do that
Don't have an account?
Daniel Grabowski
API Rest Trailhead Broken?
I think the challenge on this trailhead is broken: https://trailhead.salesforce.com/modules/apex_integration_services/units/apex_integration_rest_callouts
When I go to https://th-apex-http-callout.herokuapp.com/animals/:id i get:
{"animal":{"id":0,"name":"","eats":"","says":""}}
When I view the logs after clicking the "Check Challenge" button, the integer it is looking for is 99. It seems like the endpoint is not returning the correct data and completing this is currently impossible.
When I go to https://th-apex-http-callout.herokuapp.com/animals/:id i get:
{"animal":{"id":0,"name":"","eats":"","says":""}}
When I view the logs after clicking the "Check Challenge" button, the integer it is looking for is 99. It seems like the endpoint is not returning the correct data and completing this is currently impossible.
Best Answer chosen by Daniel Grabowski
Raj Vakati
Use this code