How to send params to post call?
- Dominant language
- JavaScript
- Stars
- 898
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue provides no repository file or test entry point. Start by locating Chakram's request and POST API documentation, then check whether query parameters are supported separately from the URL. Done means documenting the supported parameter form or clarifying that the current URL construction is expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100