Added taking screenshot feature as a POST request.