Implementing POST handler for /autodeploy endpoint