Last active
December 31, 2015 04:39
-
-
Save svasva/7935851 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# curl -H "Content-Type: application/json" -d '{"order":{"trade_pair_id":73, "amount":1000000, | |
"cancelled":false, "complete":false, "bid": false, "rate":111111111111100000000}}' http://localhost:3000/api/v1/orders | |
>>> | |
Started POST "/api/v1/orders" for 127.0.0.1 at 2013-12-13 01:30:05 +0400 | |
Processing by Api::V1::OrdersController#create as JSON | |
Parameters: {"order"=>{"trade_pair_id"=>73, "amount"=>1000000, "cancelled"=>false, | |
"complete"=>false, "bid"=>false, "rate"=>430646668842690304}} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment