Sending a post query sent via HTTParty
问题 I'm working with the Buffer App API with HTTParty to try and add posts via the /updates/create method, but the API seems to ignore my "text" parameter and throws up an error. If I do it via cURL on the command line it works perfectly. Here's my code: class BufferApp include HTTParty base_uri 'https://api.bufferapp.com/1' def initialize(token, id) @token = token @id = id end def create(text) BufferApp.post('/updates/create.json', :query => {"text" => text, "profile_ids[]" => @id, "access_token