API Testing · Junior · Question 52 of 75

Why send special characters like &, # or spaces in query parameters?

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.

Further reading

Problem with a question

API Testing · Junior · question 52

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz