We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5553427 commit 38ab234Copy full SHA for 38ab234
src/utils/monitor.py
@@ -300,6 +300,10 @@ def make_api_call(self):
300
logger.debug('component path: %s', component_path)
301
example = DictQuery(self.components).get(component_path)
302
logger.debug('example %s', example)
303
+ elif content and 'application/x-www-form-urlencoded' in content:
304
+ headers['Content-Type'] = 'application/x-www-form-urlencoded'
305
+ example = content.get('application/x-www-form-urlencoded').get('example')
306
+
307
# check required body
308
bodyRequired = self.requestbody.get('required')
309
if bodyRequired is True and not example:
0 commit comments