Created
June 2, 2024 08:57
-
-
Save rohithreddy/133b00b8f9b1cd6279abcede1eeacac1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const flow = await Functions.makeHttpRequest({ | |
url: `https://flow.hydragpt.xyz/api/chainfun`, | |
// url: `http://localhost:3000/api/chainfun`, | |
// "Flow-API-Key": `${secrets.flowKey}`, | |
method: "POST", | |
headers: { | |
"Content-Type": "application/json", | |
}, | |
data: { | |
"method": "trigger_flow", | |
"args": args, | |
"key": `${secrets.flowKey}` | |
},} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment