Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RestClient.post("http://localhost:3000/lol",
{:id => "peat", :label => "Peat Bakke", :attributes => [{:for => "attribute_name", :value => 1}, {:for => "something_else", :value => "wee"}]}.to_json,
:content_type => :json)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.