URL bar query string parameters are sent as null instead of their actual values
Author: linkfyCreated Jul 28, 2026Updated Jul 28, 2026
Description
When entering a URL with a query string directly into the URL bar (e.g. http://localhost:8000/items/?q=1), the value is sent as null instead of 1, so the server receives {"q": null} (or the equivalent in the framework being used).
The same request works correctly when the parameter is added through the Query tab instead of being included in the URL bar.
Steps to reproduce
- Open Posting.
- Enter
http://localhost:8000/items/?q=1in the URL bar (method:GET). - Send the request.
- Inspect the response or the server logs.
Expected behaviour
The q=1 query parameter is preserved and sent as {"q": "1"} (or equivalent).
Actual behaviour
The query string in the URL bar is dropped/replaced and the server receives {"q": null}.
Workaround
Moving the parameter into the Query tab (key q, value 1) and keeping the URL clean (http://localhost:8000/items/) makes the request work as expected.
Source: darrenburns/posting