Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HTTParty Post examples
HTTParty.post(
"url",
{
headers: { "Content-Type" => "application/json " },
query: { api_key: "some api key" },
body: { some_data: "value" }
}.to_json
)
HTTParty.post(
"url",
body: { some_data: "value" }
)
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.