Logs a GET/POST request, including JSON payload in the body, and display the last request in UI. Useful when debugging endpoints and servers