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

.post update #12

Closed
tnatarajan opened this issue Oct 9, 2012 · 1 comment
Closed

.post update #12

tnatarajan opened this issue Oct 9, 2012 · 1 comment

Comments

@tnatarajan
Copy link

i executed below script, it ran successfully. But the values are not updated as expected. anything wrong in my script?

frisby.create('Post sample Script').
post('http://petstore.swagger.wordnik.com/api/store.json/order?api_key=special-key',{
Order:{id:12,petId:22,quantity:22,shipDate:'2012-09-26T10:00:00.000+0000',status:'placed'}
},
{ json: true})
.expectStatus(200).toss()

@vlucas
Copy link
Owner

vlucas commented Oct 9, 2012

Nothing looks wrong with the syntax. Check the result and see if it's what you want with inspectJSON.

@vlucas vlucas closed this as completed Oct 22, 2012
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

2 participants