• Post Reply Bookmark Topic Watch Topic
  • New Topic

How we can use special character in http/https url using REST Web Service

 
Roopesh Rana
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


http://localhost/api/imports/id?fileName=SpecialChar_!@#$%^&()_+=-[]{}',`_1.txt

my file name can contain special characters but when I passing this file name as a parameter in URL using REST

I am getting exception, if anybody have idea please help.


Regards,
Roopesh Rana
 
J. Kevin Robbins
Bartender
Posts: 1801
28
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using URLEncoder?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!