Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Implementing Client server setup

I have a fundamental question about whether apigee maintains context when going from a client HTML to another (server) endpoint in the same API proxy or different proxy. I will try to explain to the best that I can:

I have an endpoint https://mysite.apigee.net/client_endpoint?apikey=...&par1=val1.

At the end of the preflow for this is a Javascript policy that displays an HTML page with a button.

The button is supposed to fetch() something from another endpoint such as

https://mysite.apigee.net/server_endpoint?par1=val1.

So, my broad question is, what contexts are available to the server_endpoint?

More specifically, I am seeking answers to the following:

1. Do I need to pass in an apikey in the fetch()?

2. Is it possible to access developer info in the server_endpoint?

Thanks,

Jayaram

0 1 85
1 REPLY 1