def post(path, options = {}, &block)
      perform_request Net::HTTP::Post, path, options, &block
    end
def post(path, options = {}, &block)
      perform_request Net::HTTP::Post, path, options, &block
    end
Allows making a post request to a url.

   class Foo
     include HTTParty
   end

   # Simple post with full url and setting the body
   Foo.post('http://foo.com/resources', body: {bar: 'baz'})

   # Simple post with full url using :query option,
   # which appends the parameters to the URI.
   Foo.post('http://foo.com/resources', query: {bar: 'baz'})