I'm pretty new to submitting POST requests to API's using API credentials and am looking for an explanation on how it's done in Ruby on Rails.
I'm using the Shipwire API and am trying to POST to /orders.
POST /api/v3/orders HTTP/1.1 Host: api.beta.website.com Authorization: Basic TG9vayBhdCB0aGF0OyBEdWNrcy4uLm9uIGEgbGFrZSEK I have an Order object ready but am wondering if anyone could shed some light on this.
rest-clientgithub.com/rest-client/rest-client? Maybe you are looking for this: github.com/rest-client/rest-client#usage-activeresource-style. Also try this stackoverflow.com/questions/20890769/…