From 67b586b1f9897694421ec537c4d3b390602318cb Mon Sep 17 00:00:00 2001 From: SeisSerenata Date: Fri, 7 Jun 2024 17:31:41 +0000 Subject: [PATCH] fix: update header --- any_parser/base.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/any_parser/base.py b/any_parser/base.py index b8e5bb6..d9f634e 100644 --- a/any_parser/base.py +++ b/any_parser/base.py @@ -3,9 +3,9 @@ import requests -CAMBIO_UPLOAD_URL = "https://hp2i14jwa7.execute-api.us-west-2.amazonaws.com/v1/upload" -CAMBIO_REQUEST_URL = "https://hp2i14jwa7.execute-api.us-west-2.amazonaws.com/v1/request" -CAMBIO_QUERY_URL = "https://hp2i14jwa7.execute-api.us-west-2.amazonaws.com/v1/query" +CAMBIO_UPLOAD_URL = "https://qreije6m7l.execute-api.us-west-2.amazonaws.com/v1/upload" +CAMBIO_REQUEST_URL = "https://qreije6m7l.execute-api.us-west-2.amazonaws.com/v1/request" +CAMBIO_QUERY_URL = "https://qreije6m7l.execute-api.us-west-2.amazonaws.com/v1/query" class AnyParser: @@ -14,8 +14,8 @@ def __init__(self, apiKey) -> None: self._requesturl = CAMBIO_REQUEST_URL self._queryurl = CAMBIO_QUERY_URL self._request_header = { - "authorizationToken": "-", - "apiKey": apiKey, + "authorizationtoken": "-", + "apikey": apiKey, } self.timeout = 60