Can we consume an API, for example use the POST method to retrieve products. Note that we pass the security key in the body or data. it's possible ??
def api(request):
url = 'https://datausa.io/api/data?product'
x = requests.post(url,data={'securityKey':'valueKey')
contenu=x.text
return HttpResponse(contenu)