hi...strange thing here. If I run a cURL command in the terminal, I get a perfectly good response. If I run the EXACT same command via the "Execute Program" operator, I get an "error code 1". Any thoughts? [the OAuth token here only goes to a sandbox for testing...if you want to test it yourself, you'll have to request another one]
On Terminal:
curl -H 'Accept: application/json' -H 'Authorization: Bearer bc4f3536e0794af9988ad348bac8bb1f' 'https://api.ed-fi.org/api/api/v2.0/2017/schools'
Response:
[
{
"id": "ceaa310e29674ce29a158ad4f2d487a7",
"localEducationAgencyReference": {
etc...
In Execute Program:
curl -H 'Accept: application/json' -H 'Authorization: Bearer bc4f3536e0794af9988ad348bac8bb1f' 'https://api.ed-fi.org/api/api/v2.0/2017/schools'
Response:
External tool error
Process 'curl -H 'Accept: application/json' -H 'Authorization: Bearer bc4f3536e0794af9988ad348bac8bb1f' 'https://api.ed-fi.org/api/api/v2.0/2017/schools'' exited with error code 1.
Scott