Skip to content

Instantly share code, notes, and snippets.

@svasva
Last active December 31, 2015 04:39
Show Gist options
  • Save svasva/7935851 to your computer and use it in GitHub Desktop.
Save svasva/7935851 to your computer and use it in GitHub Desktop.
# 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