J
04/13/2023, 1:37 PMBianca Hoch
04/13/2023, 5:20 PMSystem.Net.Http
in your C# Azure Function for making HTTP requests.
3. Instantiate an HttpClient
, and set the required headers, with the API key as a Bearer token.
4. Create a JSON string representing a POST request to create a new flow run (use the flow's ID).
5. Send the POST request to the Prefect REST API and verify the response.
You can read the REST API documentation at https://app.prefect.cloud/api/docs.