Skip to content

Instantly share code, notes, and snippets.

@norbajunior
Created June 24, 2014 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save norbajunior/dc806150523fa6085931 to your computer and use it in GitHub Desktop.
Save norbajunior/dc806150523fa6085931 to your computer and use it in GitHub Desktop.
HTTParty.post("https://desenvolvedor.moip.com.br/sandbox",
:headers => {
'Accept' => 'application/xml',
'Content-Type' => 'application/xml; charset=ISO-8859-1'
},
:user => "MOIP_API_TOKEN:MOIP_API_KEY"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment