class Mopidy::Http

Public Class Methods

post(url, body, headers) click to toggle source
# File lib/mopidy/http.rb, line 5
def self.post(url, body, headers)
  http_provider = Mopidy.configuration.http_provider
  res = http_provider.post(url, body: body, headers: headers)
  Response.new(res)
end