Skip to content
New issue

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

Fails to parse header when running ReqInEdit file #59

Closed
renatoathaydes opened this issue Sep 15, 2022 · 0 comments
Closed

Fails to parse header when running ReqInEdit file #59

renatoathaydes opened this issue Sep 15, 2022 · 0 comments

Comments

@renatoathaydes
Copy link
Owner

The following request:

POST {{baseUrl}}/dev/oauth/token
# Client Credentials flow POSTs a HTML form and receives JSON back
Content-Type: application/x-www-form-urlencoded

client_id=client&client_secret=Secret&grant_type=client_credentials

Is being sent without the header!

▶ rawhttp run client_credentials.http -e local -l
POST /dev/oauth/token HTTP/1.1
Host: localhost
Content-Length: 75

client_id=client&client_secret=Secret&grant_type=client_credentials
HTTP/1.1 400 Bad Request

Which breaks the test.

Tested on RawHTTP-CLI 1.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant