Layer7 API Management

  • 1.  How to allow encoded slashes in url (REST) with id in PathParam ?

    Posted Nov 04, 2016 09:59 AM

    Hi,

     

    We expose an API REST with a PathParam contains slashes.

     

    Example :

    https://api.mydomain.fr/ressource/{id}/child-ressource

     

    When I execute my api with a {id} contains slashes, I encoded url like this :  https://api.mydomain.fr/ressource/foo%2Fbar/child-ressource

    I obtain the result :  HTTP/1.1 400 Bad Request

    and there is no audit for my request.

     

    How to allow encoded slashes in url ?

     

    Regards,

    David



  • 2.  Re: How to allow encoded slashes in url (REST) with id in PathParam ?
    Best Answer

    Posted Nov 04, 2016 11:06 AM

    Hi David,

     

    Does the following Technical solution answer your question

    Knowledge Base Articles 

     

    Document ID: TEC0000001260

     

    Regards

    Seenu Mathew



  • 3.  RE: Re: How to allow encoded slashes in url (REST) with id in PathParam ?

    Broadcom Employee
    Posted Jan 17, 2020 02:58 PM

    The New KB number is, 

    https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=4104