Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Proxy a secured Restful API

Not applicable

Hi All: I am new to Apigee, I did tutorial and watched some videos. Now, I encounter difficulties when i tried to create a proxy for my target RESTFul Service Endpoint:

1. the target url is https;

2. the target endpoint is protected by an OAuth token and http header;

3. the target url uses query string parameter to provide dynamic results when consumed.

Q1: I tried to create a proxy using the regular reverse proxy. In security page, I tried all options (Pass Through, API Keys, oAuth, etc.) and all failed at the last step (build and deploy) with the on-screen error saying "Unable to upload, Unauthorized"). The behavior makes sense but I just dont know what I should do. If regular reverse proxy is not the right choice, what type of proxy should I use? do i need to do something special to targat https?

Q2: what is the best approach to publish a proxy for a target that involves query string (https://mySvc.host.com/v1/cust?id=123)

Q3: what do you recommend if I want to make this work in edgemicro. I understand that I need to prefix the the proxy name with edgemicro_. at least. as to what plugins to write (in place of policies), I am not too sure yet.

Is there any more sample or documentations that you can recommend for me to refer to?

Thank you.

---Yang

0 2 136
2 REPLIES 2