10.01.2023, 10:34
.lp scripts are uploaded using FTP. Use apps username, enable FTP and set password in System config > Services > FTP server.
Try this test script. It will show request body contents in LM Logs tab for each request that is sent to LM.
Try this test script. It will show request body contents in LM Logs tab for each request that is sent to LM.
Code:
<?
require('apps')
body = ngx.req.get_body_data()
log(body)