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

Darshan Hiranandani : How Do I Handle Dynamic Parameters in Target Paths?

Hi everyone,

I’m Darshan Hiranandani, working on exposing a Proxy API that requires mandatory parameters, including login and password, but I want to abstract these details from the API consumers.

What are the best practices for incorporating dynamic parameters, such as login credentials and other mandatory fields, into target paths when exposing a Proxy API?

I appreciate any insights or suggestions you can provide on handling dynamic parameters in this context. Thanks in advance!

Best regards,
Darshan Hiranandani 

 

 

 

 

1 1 97
1 REPLY 1

Best practices are to NOT embed login credentials into URLs, either as query params or path segments.

in an Apigee proxy,If you want to modify the target URL , or et a dynamic target URL (adding parameters, path segments, etc), you can use AssignMessage.