fix: Properly forward data to ipasnhistory
parent
1d7bf54bfc
commit
203e8f56ab
|
@ -49,7 +49,7 @@ class IPASNProxy(Resource):
|
||||||
|
|
||||||
def post(self, path=''):
|
def post(self, path=''):
|
||||||
url = self._proxy_url()
|
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
|
# TODO: Add other parameters for asn_rank
|
||||||
|
|
Loading…
Reference in New Issue