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
twitch-cli version: twitch-cli/source (9370e1a)
curl -X GET "http://localhost:8080/units/categories" --header "accept: application/json" -v
sends data with header Content-Type: text/plain; charset=utf-8
Content-Type: text/plain; charset=utf-8
curl -X POST "http://localhost:8080/auth/token?client_id=mockid&client_secret=mocksecret&grant_type=client_credentials" --header "Accept: application/json" -v
also sends data with header Content-Type: text/plain; charset=utf-8
curl.exe -X GET "http://localhost:8080/mock/users" --header "Accept: application/json" --header "Authorization: Bearer mytoken" --header "Client-ID: mymockid" -v
returns Content-Type: application/json correctly
Content-Type: application/json
The text was updated successfully, but these errors were encountered:
Meant to re-add this; will fix in the coming week or two.
Sorry, something went wrong.
Fixes content-type per #81.
4fe0b4d
Merge pull request #86 from twitchdev/bugfix/content-type-issue-81
7328a88
Successfully merging a pull request may close this issue.
twitch-cli version: twitch-cli/source (9370e1a)
sends data with header
Content-Type: text/plain; charset=utf-8
also sends data with header
Content-Type: text/plain; charset=utf-8
returns
Content-Type: application/json
correctlyThe text was updated successfully, but these errors were encountered: