marcmaxmeister commited on
Commit
a3757af
·
verified ·
1 Parent(s): cf6f165

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,11 +31,11 @@ async def proxy_request(request: Request):
31
  encoded_params = urlencode(query_params)
32
 
33
  # Construct the full URL for the private space endpoint
34
- private_api_url = f"{api_url}/eins?{encoded_params}"
35
 
36
  # Use httpx to make an asynchronous GET request to the private API
37
  try:
38
- print('params', private_api_url, encoded_params)
39
  async with httpx.AsyncClient(timeout=60.0) as client:
40
  response = await client.get(private_api_url, headers=headers)
41
  response.raise_for_status() # Raise an exception for 4xx/5xx responses
 
31
  encoded_params = urlencode(query_params)
32
 
33
  # Construct the full URL for the private space endpoint
34
+ private_api_url = f"{api_url}/eins/?{encoded_params}"
35
 
36
  # Use httpx to make an asynchronous GET request to the private API
37
  try:
38
+ print('params', private_api_url)
39
  async with httpx.AsyncClient(timeout=60.0) as client:
40
  response = await client.get(private_api_url, headers=headers)
41
  response.raise_for_status() # Raise an exception for 4xx/5xx responses