Content pfp
Content
@
0 reply
0 recast
0 reaction

dylan pfp
dylan
@dylsteck.eth
quick cast actions question: where does this metadata route need to be placed/do i reference the link to it somewhere? https://warpcast.notion.site/Draft-Composer-Actions-7f2b8739ee8447cc8a6b518c234b1eeb
4 replies
0 recast
171 reactions

nyc-crypto-cabal-kid pfp
nyc-crypto-cabal-kid
@zinger
This is the shape of response that a client expects when it sends a GET request to your action URL
1 reply
0 recast
2 reactions

dylan pfp
dylan
@dylsteck.eth
hmm but if it's the same route as your action URL wouldn't it just return the rendered HTML for that page?
2 replies
0 recast
1 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
Nope rendered HTML doesn’t exist for cast actions But does for composer actions and there the POST returns a JSON that specifies which URL has the Page to show, while the GET returns the metadata Explainer: https://dtech.vision/farcaster/miniapps/quickstart-farcaster-composer-actions/
0 reply
0 recast
0 reaction

nyc-crypto-cabal-kid pfp
nyc-crypto-cabal-kid
@zinger
I think this is the GET (to render the name, description, icon, etc. in the “actions store”) and the HTML response is the POST (which sends a request with the composer context when a user selects your action)
0 reply
0 recast
0 reaction