Open kagalenitin opened 7 years ago
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
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.
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:
My question is, can we set params in a better way or what I am doing is the only way to pass it.