Improve variable name for clarity.
Implement postData code review feedback.
Implement code review feedback for plugins/restiming.
Send JSON as text/plain, application/json doesn't work.