Replies: 1 comment
-
|
It works after I wrote the request as r = httpx.get('https://httpbin.org/get?key2=value2,value3', params={'key1': 'value1'})I originally input But I still wonder if there is a better solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I read the documentation that it would break the list into separate parameters in the URL.
Is there any possible method for the list to turns into a comma-separated string (i.e.
URL('https://httpbin.org/get?key1=value1&key2=value2,value3'))? I have tried to encode the commas into the URL but they are automatically encoded to%2Cas comma is reserved.Beta Was this translation helpful? Give feedback.
All reactions