I want to perform request via AsyncClient using httpx but URL Contains "_" Underscore and it cannot be parsed.
async with self.checkoutSession:
sendCheckoutResp = await self.checkoutSession.post(
"https://api.exmaple.com/api/_action/someAction",
headers=self.mainHeaders,
cookies=self.refreshToken
)
Code is giving me traceback: Unsupported URL protocol 'example'
Is it somehow possible to send request to url that looks like that?