I have a requirement to send the folder details in the URL for POST method, some thing like this http:///{directory}/{filename}
I am using Spring API to create the service. Using @PathVariables to two variables in the URI.
Problem : Directory can have "/" slashes in it. Now how can I create my API, please help me.