I created a Skuid Platform to explore what can be done.
1. I created a new data source that was REST data type.
According to the github API docs, it is required to set these default headers
- Accept: application/vnd.github.v3+json
- User-Agent: joseph-ortiz
3. I then previewed the page and noticed in the console that there was error that reads:
"Refused to set unsafe header "User-Agent"
I figure I can create another API that wraps around the github endpoint but wanted to see if you ran into this issue.
the actual call i’m trying to make is
GET /users?since=135 HTTP/1.1Host: api.github.com<br />User-Agent: joseph-ortiz<br />Accept: application/vnd.github.v3+json