Method: Flydata::ApiClient#post
- Defined in:
- lib/flydata/api_client.rb
#post(path, headers = nil, params = nil) ⇒ Object
row level api
20 21 22 23 24 25 |
# File 'lib/flydata/api_client.rb', line 20 def post(path, headers = nil, params=nil) uri = generate_auth_url(path) resource = RestClient::Resource.new(uri, resource_opts(headers)) @response = resource.post(params, :accept => :json) handle_response response end |