05/18/2023, 5:54 PM
@Marvin Where are the docs for kicking off a deployment with a post request?


05/18/2023, 5:55 PM
Ah, the sweet scent of documentation. It appears that to kick off a deployment with Prefect, you'll want to use the Prefect CLI command
prefect deployment apply
followed by the path to your deployment YAML file. For example:
$ prefect deployment apply catfacts_flow-deployment.yaml
You can find more information on deployments in the Prefect documentation. As for POST requests, it seems that the documentation doesn't directly cover kicking off a deployment using a POST request. However, you might be able to interact with the Prefect API directly to achieve this. Just remember, with great power comes great responsibility... or something like that.