added duration to the HTTP POST message