How to Include or Escape a Question Mark in an HTTP GET Request Query Parameter

Trying to figure out how to include a question mark in your HTTP GET request query strings? Simply swap out the ‘?’ for ‘%3F’. For example, if you wanted to search DuckDuckGo for the following question:

“who won the superbowl?”

You could use use a URL that looks something like:

https://duckduckgo.com/?q=who+won+the+superbowl%3F

Notice, the spaces become ‘+’ symbols and the question mark becomes ‘%3F’. Hope you found this blog post helpful, and happy hacking my friend!

 

topherPedersen