To get the payload in the request info you need add below lines in restmaf.conf restmaf.conf [script:upload_email_list]
match = /data/email_sender/upload_email_list
script = upload_email_list.py
scripttype = persist
python.version = python3
handler = upload_email_list.UploadEmailHandler
passPayload = true // Used to see payload in api call
output_modes = json // output in json formate
passHttpHeaders = true // Used to see headers in api call
passHttpCookies = true // Used to see cookies in api call Output: request info request info {'output_mode': 'xml', 'output_mode_explicit': False, ....
....
'payload':'{"fileContent":"ravinandasana1998@gmail.com,ravisheart123@gmail.com"}'
.....
}
... View more