Skip to content

Instantly share code, notes, and snippets.

View KartowkaAteist's full-sized avatar
🙀
Do some didli dudli magic

Nikita KartowkaAteist

🙀
Do some didli dudli magic
View GitHub Profile
@narath
narath / faraday_post.rb
Created May 8, 2017 17:24
How to do a x-www-form-urlencoded post with Faraday
require 'faraday'
require 'uri'
data = {
:your_data => "YOUR DATA"
}
url = "some url"
response = Faraday.post(url) do |req|