API POST with array using HTTP gem (or RestClient)
问题 I'm having trouble with this api and can't seem to get over the hump. Using the HTTP gem (though I'm flexible and can use RestClient if that gets me an answer quicker!). Anyway, I'm having trouble posting an array. everything else is good, I just can't figure out this "itemsarray" in the printaura api found here in the addorder method: PrintAura API I'm running this: def self.submitorder req = HTTP.post("https://api.printaura.com/api.php", :json => { :key => APIKEY, :hash => APIHASH, :method