hey with prefect 2 server being a standard rest ap...
# ask-community
s
hey with prefect 2 server being a standard rest api, would it be possible to run a flow in any language? If that would be possible do you have any pointers on what endpoints I would need to communicate with or would the flow even need to check in with prefect?
z
Yes this is possible and something we’ve considered in the design. The API manages all orchestration of the flow, so the flow does need to interact with Prefect. The
OrionClient.propose_state
method and the
prefect.engine
module will be helpful for understanding the requests that are made. Basically, the client proposes states and the server returns a response indicating what the client should do. I wouldn’t recommend attempting to write your own implementation in another language yet. Eventually, we’ll document the basic client process that needs to occur to support new implementations.
🙌 2
s
amazing thanks @Zanie
@Zanie do you know when standard webhook notification will be available for orion? like we have in v1 right now
z
I believe we'll add that very soon
👍 3