|
@@ -192,7 +192,7 @@ class oa2TokenView(TemplateView):
|
|
|
return JsonResponse(res_json)
|
|
|
|
|
|
def post_to_api(self, payload):
|
|
|
- connection = http.client.HTTPSConnection("api.amazon.com")
|
|
|
+ # connection = http.client.HTTPSConnection("api.amazon.com")
|
|
|
headers = {
|
|
|
'content-type': "application/x-www-form-urlencoded",
|
|
|
'cache-control': "no-cache"
|