Tokens are generated from a third party service.
Sometimes these tokens include %2F like 0Tqn66huZhfX%2Fft7nPnCj1Id
I am writing a wrapper for this service and using spring rest.
When i send token with %2F in it to spring controller as @RequestParam it treats %2F as / character,
0Tqn66huZhfX%2Fft7nPnCj1Id becomes 0Tqn66huZhfX/ft7nPnCj1Id.
I must send this token to another server like below.
http://example.com/{token}/{otherVariable}
As spring gets %2F as /, it breaks the url format.
What can i do to get the token value with %2F without it being converted to /?
 
    