fix: Properly forward data to ipasnhistory

pull/17/head
Raphaël Vinot 2021-12-30 12:44:55 +01:00
parent 1d7bf54bfc
commit 203e8f56ab
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class IPASNProxy(Resource):
def post(self, path=''):
url = self._proxy_url()
return requests.post(url, json=request.data.decode()).json()
return requests.post(url, data=request.data).json()
# TODO: Add other parameters for asn_rank