Hi,
I'm unsure if it's Apiarys fault, or someone else. But it's not possible to test methods against the production or testing server anymore, as all methods will return a "api_key missing" error. (It's not possible to edit the URL in question or add api_key as a POST parameter. Apiary splits Headers and Parameters into separate setting panes, maybe Querystring parameters just needs to be enabled?
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 31 maggio, 2015 alle 10:05AM
Hi Mike,
With the param as part of your URL, I believe it works fine. You're right that they assume headers by default.
I'm not sure of any specifics though, you'll have to contact them if you're having any trouble beyond that.
Edit: Ok, ya, I see what you mean. Through their web "console", you can't edit the address (or add params). You can take the private URL out of the console and just hit it manually in your browser or cURL. It will record the request under the "Inspector".
Risposta da LordMike
il 31 maggio, 2015 alle 10:10AM
Am I also correct in understanding that it no longer displays example responses? (I could imagine example responses would come from actually running a query, but the original issue still stands then).
Risposta da Travis Bell
il 31 maggio, 2015 alle 10:16AM
You have to change your request to "Mock Server" to see the example responses, "Debugging Proxy" to proxy the production server. I haven't updated all of the docs with the new media list responses though, so it's probably best for you to use the proxy.
I don't personally use these features on Apiary so I am not 100% sure of the specifics.