Remove apikey from query parameter

pxzxz1
New Member

Hello fellow apigeeks

I want to remove apikey from query parameter. I am unsure whether hardcode is the correct way to do it with caching.

0 5 277
5 REPLIES 5

It's not entirely clear what you're asking.

Are you trying to configure your API such that the apikey is not sent as a query parameter, but something different (perhaps a header?).

If so, see https://docs.apigee.com/api-platform/reference/policies/verify-api-key-policy

Hello Deboraelkin

Before I take a look at the documentation, is there other ways beside setting to header?

Thanks

Looking at the documentation is certainly faster than posting a question here and hoping for an answer.

Don't be afraid of using docs.apigee.com. The documentation is very clear and covers all levels of users, from beginners to advanced.

It's one of the best tools you'll ever have in your Apigee development toolkit.

As mentioned by @deboraelkin

you can set API key anywhere in header, queryparam, formparam and configure the verifyapikey policy accordingly. Most commonly, apikey is sent in query param or header.

Hello Navjot

How can I do it as form param?