Skip to content

Commit

Permalink
README fix:
Browse files Browse the repository at this point in the history
HTTParty.post uses body, not query params.
  • Loading branch information
stevegraham committed Feb 27, 2013
1 parent e05e1ed commit 1a3ee15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ auth_hash = request.sign(token)
query_params = params.merge(auth_hash)

HTTParty.post('http://myservice/api/thing', {
:query => query_params
:body => query_params
})
```

Expand Down

0 comments on commit 1a3ee15

Please sign in to comment.