-
What would you like to discuss?How i can send request without codding special symbols? I want to send Checklist
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
TL; DR: With Explanation: Example: got('http://example.com/?$format=json;metadata=full') |
Beta Was this translation helpful? Give feedback.
TL; DR: With
searchParams
you can'tExplanation:
URLSearchParams
follows the WHATWG spec https://url.spec.whatwg.org/#urlsearchparamsThe characters you're using are percent encoded (as you noted).
If you want to use a custom query string that doesn't follow the WHATWG spec you've to add it in the URL.
Example: