@@ -125,15 +125,15 @@ header = {'Content-type' : 'application/json', 'Accept' : 'application/json'}
125125
126126# Passing payload for data parameter as string
127127payload = ' {"key" : "value"}'
128- request = requests.post(uri, data = payload, auth = oauth, headers = header)
128+ response = requests.post(uri, data = payload, auth = oauth, headers = header)
129129
130130# Passing payload for data parameter as Json object
131131payload = {' key' : ' value' }
132- request = requests.post(uri, data = json.dumps(payload), auth = oauth, headers = header)
132+ response = requests.post(uri, data = json.dumps(payload), auth = oauth, headers = header)
133133
134134# Passing payload for json parameter Json object
135135payload = {' key' : ' value' }
136- request = requests.post(uri, json = payload, auth = oauth, headers = header)
136+ response = requests.post(uri, json = payload, auth = oauth, headers = header)
137137```
138138
139139###### GET example
@@ -146,7 +146,7 @@ uri = 'https://sandbox.api.mastercard.com/service'
146146oauth = OAuth1RSA(consumer_key, signing_key)
147147
148148# Operation for get call
149- request = requests.get(uri, auth = oauth)
149+ response = requests.get(uri, auth = oauth)
150150```
151151
152152### Integrating with OpenAPI Generator API Client Libraries <a name =" integrating-with-openapi-generator-api-client-libraries " ></a >
0 commit comments