We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From the documentation, I was expecting the following to work
INSIGHT_BEARER='abcdxyz123' curl --request GET --get "https://insightprediction.com/api/markets?orderBy=is_resolved&sortedBy=desc" --header "Authorization: Bearer $INSIGHT_BEARER" --header "Content-Type: application/json" --header "Accept: application/json"
I was also expecting something like
INSIGHT_BEARER='abcdxyz123' curl --request GET --get "https://insightprediction.com/api/markets?page=2&orderBy=is_resolved&sortedBy=desc" --header "Authorization: Bearer $INSIGHT_BEARER" --header "Content-Type: application/json" --header "Accept: application/json"
to work.
Neither request does work. In curl, they return a
{ "message": "Server Error" }
(in node, this is a "Error: Request failed with status code 500")
The following does work:
INSIGHT_BEARER='abcdxyz123' curl --request GET --get "https://insightprediction.com/api/markets?page=2" --header "Authorization: Bearer $INSIGHT_BEARER" --header "Content-Type: application/json" --header "Accept: application/json"
but doesn't return results ordered by is_resolved.
The text was updated successfully, but these errors were encountered:
feat: save Insight Prediction progress
3892db1
Note that the fetcher is subject to this bug: <#94> which means that it'll hit insight pretty hard.
Resolved now as the Insight prediction API has been updated.
Sorry, something went wrong.
No branches or pull requests
What I was expecting
From the documentation, I was expecting the following to work
I was also expecting something like
to work.
What I got instead
Neither request does work. In curl, they return a
(in node, this is a "Error: Request failed with status code 500")
What does work
The following does work:
but doesn't return results ordered by is_resolved.
The text was updated successfully, but these errors were encountered: