How to make an authenticated call with Apigee

24 views
Skip to first unread message

hu...@hotmail.com

unread,
Jul 20, 2012, 11:30:37 PM7/20/12
to etsy-...@googlegroups.com
Excuse my dumbness, I'm a java developer and a bit out of my depth...I wrote code to do a CreateShippingTemplate but it returns 500, Internal Server Error with no additional info. So, now I want to try Apigee but...

Can someone please explain to me how I can make an authenticated call with Apigee? How do I get authentication data for the call, and how do I enter it in the web interface?

Thanks,
Mark



Jon Hannah

unread,
Jul 30, 2012, 6:45:43 PM7/30/12
to etsy-...@googlegroups.com
Hello Mark,

No worries, I had the same problem having never used Apigee myself before. Depending on the type of authentication you wish to do (using api_key vs OAuth) you can either pass your api_key as a query string variable (just add ?api_key=xxxxxxxxxxxx to your URL) or hit the gear button next to the URL and add a api_key parameter with the value. If you instead wish to use OAuth, select the lock button to the left of the URL and you can then select OAuth over 'No Authentication'. The first time you select OAuth a new window will pop up and you can then permit the OAuth permission request in a new window.

Regards,
Jon Hannah

hu...@hotmail.com

unread,
Jul 31, 2012, 8:29:49 PM7/31/12
to etsy-...@googlegroups.com
Aha! Never noticed that lock button...thanks, Jon.
Reply all
Reply to author
Forward
0 new messages