When passing query parameters directly in the URL string, Drino encodes the ? and = characters, causing the request to fail:
drino.get('http://example.com/?name=test').consume();
// URL becomes: http://example.com/%3Fname=test
// searchParams: URLSearchParams {}
// => 404 Not Found
Workaround: pass query parameters via the queryParams option:
drino.get('http://example.com/', {
queryParams: { name: 'test' }
}).consume(); // Works
Expected:
Drino should handle query parameters in the URL string without encoding the ?.
Version: drino 2.0.0