I deployed a model on a GCP Vertex AI endpoint. This endpoint is consumable at the URL https://${VERTEXAI_URL}:predict.
I need now to expose this API service on Apigee with the following URL syntax:
https://${APIGEE_URL}/predict.
How can I do this ?
My main concern is knowing how to switch from a /predict resource in front-end end to :predict in back-end.
If your Apigee proxy is dedicated solely to this one model, could you define the literal colon in the Target Endpoint’s <URL> element?
Apigee handles colons in the URL string as literal characters as long as they are part of the URL configuration in the TargetEndpoint.
2 Likes
@maxime-oriol
Just create a proxy with base path as /predict and then configure https://${VERTEXAI_URL}:predict as your Target URL. That should do the trick