@when(r"<STR_LIT>")<EOL>def when_i_send_the_request(context, method):
data = context.apiRequestData<EOL>context.apiRequest = context.apiClient.generic(<EOL>method,<EOL>data['<STR_LIT:url>'],<EOL>data=json.dumps(data['<STR_LIT>']),<EOL>content_type=data['<STR_LIT>'],<EOL>format=data['<STR_LIT>'],<EOL>)<EOL>
:type method: str
:type context: behave.runner.Context