diff --git a/parking_permits/services/hel_profile.py b/parking_permits/services/hel_profile.py index 8b92b74d..02d98e4d 100644 --- a/parking_permits/services/hel_profile.py +++ b/parking_permits/services/hel_profile.py @@ -48,7 +48,7 @@ def get_customer(self): def _get_profile(self): api_token = self.request.headers.get("X-Authorization") - response = requests.get( + response = requests.post( settings.OPEN_CITY_PROFILE_GRAPHQL_API, json={"query": helsinki_profile_query}, headers={"Authorization": api_token},