简体   繁体   中英

PHP MySql URL Rewrite String Special character as a parameter issue

I am using slim-framework for api development. when i added any special character as String i am getting error page not found.

for example this get method

http://www.mydomain.com/REST-API/getHint/bol?/

bol? is string

when i add ? (Question Mark) to string then i got page not found error when i removed then it's ok,

where is the problem .. ? and how can i use the string with special character as parameter.

Thanks Advance

As recommended by @Marc B url encoded format, %3F for ? it solved my issue.

Thanks to @MarcB

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM