APIcast appends a trailing slash to the Upstream URL

Solution Verified - Updated -

Issue

  • When at least one backend is configured in Integration / Backends for a Product, with a Public Path different than /, APIcast appends a trailing / to the end of the path of the Upstream as in the following example:

    Private Base URL of backend1: https://echo-api.3scale.net:443/foo
    Backend Usage Public Path: /backend1
    Request: curl https://api-apicast-staging.testing:443/backend1?user_key=abc
    Response:

    {
    "method": "GET",
    "path": "/foo/",
    [...]
    

    As visible, APIcast is accessing the Upstream at: https://echo-api.3scale.net:443/foo/, i.e. with a trailing slash

Environment

  • Red Hat 3scale API Management Platform (3scale API Management)
    • 2 (On Premise)
    • SaaS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content