API Testing · Junior · Question 52 of 75
Why send special characters like &, # or spaces in query parameters?
- 1Because special characters are required in every query
- 2To make the request run faster through the network
- 3To check URL encoding and that values aren't cut or misread
Show the answer
Correct answer: To check URL encoding and that values aren't cut or misread
Explanation
An unencoded & splits a parameter, a # ends the URL. Clients must encode, and servers must decode correctly.