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
I'm trying to test an older API that expects a post with user parameters that can be read as an array by a PHP backend
curl "http://localhost/user/create" -d "user[email_address]=test678@asdddddd.com&user[password]=password"
I tried
frisby.create('Subscribe a user') .post('hhttp://localhost/user/create', { user[email_address]: "test1@asdddddd.com", }) .expectStatus(200) .toss()
but it choked on the brackets. Is there a way to do this?
The text was updated successfully, but these errors were encountered:
nevermind, just put it in qoutes
Sorry, something went wrong.
No branches or pull requests
I'm trying to test an older API that expects a post with user parameters that can be read as an array by a PHP backend
curl "http://localhost/user/create" -d "user[email_address]=test678@asdddddd.com&user[password]=password"
I tried
frisby.create('Subscribe a user')
.post('hhttp://localhost/user/create', {
user[email_address]: "test1@asdddddd.com",
})
.expectStatus(200)
.toss()
but it choked on the brackets. Is there a way to do this?
The text was updated successfully, but these errors were encountered: