We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
post requests in form type got a json string curl payload output
The text was updated successfully, but these errors were encountered:
utils.api.post('/path/to') .type("form") .send(utils.data.iOSApp) .send({token: new_user_platform.token}) .send({ 'email': new_user_email.user.email, 'password': utils.DEFAULT_PASSWORD })
curl -X POST -H "content-type: application/x-www-form-urlencoded" -H "content-length: 141" -d '{"mobile":"18657072366","password":"password","nickname":"test1-4kg73vV7Gg","verifycode":"1179527","phonecode":"86","countrycode":"CN","v":"i6.5.0","vc":"AppStore","vd":"ABCDEFG"}' "http://10.1.14.251/path/to"
Sorry, something went wrong.
Thanks, I wasn't aware of type('form'). Does this set a content-type: application/x-www-form-urlencoded header?
type('form')
content-type: application/x-www-form-urlencoded
yes it is the http header part is correct
No branches or pull requests
post requests in form type got a json string curl payload output
The text was updated successfully, but these errors were encountered: