If my api path has special character like [ ] client.request("GET", url) or client.get(url) fails with 400 #2789
Replies: 1 comment
-
So i see in your Do you have a work around if i case the query needs to have a The api i am using other wise allows these charachter so the following url But when using httpx it looks like this and because of this it is rejected at the server with 400 bad request |
Beta Was this translation helpful? Give feedback.
-
Hello my api path/url looks like below:
https://<server>/api/v1/DR_TEST_PROJECT/item?filter.eq.launchId=27594&filter.eq.name=shouldQueueAndPollMessages[0: testQueue(1 writers, 1 readers, 1,000,000 events)]&filter.eq.parentId=852470
when i use client.request or client.get to perform a get i get a 400 BAD REQUEST error suggesting the special characters are not valid
ERROR:
This api works when i use requests
is there a workaround to get this working with httpx?
Beta Was this translation helpful? Give feedback.
All reactions