Link to home
Start Free TrialLog in
Avatar of srikotesh
srikotesh

asked on

Rest webservice throwing 406 error when i am passing special symbol in uri

Hi Experts,

uri:
http://localhost:8080/SpringRestExample//rest/emp/901/rao.m

when i hit the service with username like raom service working fine.

when i try username like ---> rao.m
it is throwing 406 error

how do i get the . symbol along with uri
i have tried to encode url with %2E  but it is not working

Thanks,
Avatar of gurpsbassi
gurpsbassi
Flag of United Kingdom of Great Britain and Northern Ireland image

Hmm should work with %2E
Avatar of srikotesh
srikotesh

ASKER

the below is the link for a sample project which i have tried.
http://www.journaldev.com/9189/resteasy-tutorial-eclipse-tomcat
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.