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 send params to post call? #112

Open
kagalenitin opened this issue Oct 17, 2017 · 0 comments
Open

How to send params to post call? #112

kagalenitin opened this issue Oct 17, 2017 · 0 comments

Comments

@kagalenitin
Copy link

I am trying to call a URL with multiple parameters. I don't know if there is a better way in chakram to call it:

e.g.
https://somesite.com/page1/token?access_type=user&username=admin&password=passw

Currently, I am passing the parameters as:

var params = "access_type=user&username=admin&password=passw" and appending to my url
var fullURL = "https://somesite.com/page1/token?"+ params

My question is, can we set params in a better way or what I am doing is the only way to pass it.

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