Skip to content

Instantly share code, notes, and snippets.

@mimeoconnect
Created September 9, 2011 07:30
Show Gist options
  • Save mimeoconnect/1205676 to your computer and use it in GitHub Desktop.
Save mimeoconnect/1205676 to your computer and use it in GitHub Desktop.
Doc APIs - Poster - Order Status (GET)
require 'net/http'
userid = "[your user id]"
userkey = "[your user key]"
orderId = "00-3004-00150-42447"
format = "JSON"
environment = "Sandbox"
mimeouser = ""
mimeopass = ""
url = 'https://developer.mimeo.com/orderstatus/?'
url = url + "userid=" + userid
url = url + "userkey=" + userkey
url = url + "orderId=" + orderId
url = url + "format=" + format
url = url + "environment=" + environment
url = url + "mimeouser=" + mimeouser
url = url + "mimeopass=" + mimeopass}
resp = Net::HTTP.get_response(URI.parse(url))
resp_text = resp.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment