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

How to pass data in body or headers? #113

Open
lunit4 opened this issue Sep 14, 2020 · 0 comments
Open

How to pass data in body or headers? #113

lunit4 opened this issue Sep 14, 2020 · 0 comments

Comments

@lunit4
Copy link

lunit4 commented Sep 14, 2020

Hi,

I'm using ASTRA to pentest an API that, depending on the request is mandatory to pass data (such as grant_type=client_credentials) or json with some data.

If I try to put in the body:
grant_type=client_credentials
The input validation is failed. If I put it in JSON format, {"grant_type":"client_credentials"} the scan goes on, but I get {"error":"invalid_request","error_description":"Missing grant type"}.

So, how can I put "grant_type=client_credentials" as data to send the request?

Regards,

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

No branches or pull requests

1 participant