printdotio / printio-api

Issues + wiki for the api. See http://print.io/api
0 stars 0 forks source link

Staging API endpoint #2

Closed chrischen closed 9 years ago

chrischen commented 9 years ago

What's the staging API endpoint?

bhox commented 9 years ago

Hi @chrischen, you can use https://staging-api.print.io/ for the staging api host, for example: https://staging-api.print.io/api/v/1/source/api/countries/?recipeid=....

chrischen commented 9 years ago

Fixed the issue. Needed to supply application/json header.

On Feb 22, 2015, at 8:21 PM, Chris Chen chris.chen21@gmail.com wrote:

On the staging endpoint, I keep getting this error with no description of what the error is:

{"ErrorReferenceCode":"dcd2fc9e-6c8e-4525-b80c-090715870912","HadError":true}

Method is /shippingprices

I tried from the docs using the same data and it returns successfully with the same input.

On Feb 20, 2015, at 5:07 PM, Ben Hoxie <notifications@github.com mailto:notifications@github.com> wrote:

Hi @chrischen https://github.com/chrischen, you can use https://staging-api.print.io/ https://staging-api.print.io/ for the staging api host, for example: https://staging-api.print.io/api/v/1/source/api/countries/?recipeid= https://staging-api.print.io/api/v/1/source/api/countries/?recipeid=....

— Reply to this email directly or view it on GitHub https://github.com/printdotio/printio-api/issues/2#issuecomment-75347084.