Content pfp
Content
@
0 reply
0 recast
0 reaction

jon pfp
jon
@sweetleaf.eth
Building a frame in Frog, I would like to take user input in a frame, use that in an API call, and pass that response to another page in the frame. What's the proper way to accomplish this? I see things in docs for onchain actions like `app.transaction` but nothing for arbitrary API calls.
2 replies
1 recast
3 reactions

ada pfp
ada
@0xada
You can get the input only if user click the button, then pass it as a query params. For example, I write a lucky draw frame, when the owner click draw button, the path "/" will be called, then I can get the user's input and do something, like request api or pass that to anthoer page.
0 reply
0 recast
1 reaction