Please provide a 'duration' parameter in the POST method.