Skip to content

Commit

Permalink
Removed net/http method of making request.
Browse files Browse the repository at this point in the history
  • Loading branch information
mottersheadt committed Apr 7, 2022
1 parent abe48ed commit 948af17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions content-by-language/ruby/outbound-integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@
http.post
end

request = Net::HTTP::Post.new(uri.path, initheader = {'Content-Type' =>'application/json'})
response = http.request(request)
puts "Response #{c.status}: #{c.body}"

0 comments on commit 948af17

Please sign in to comment.