Comments (2)
Hey @m4nuC, it would be awesome if you would provide a link to reproducible example!
Are you experiencing such when it's request has a GET
method present or not?
Initially, Farcaster Bot makes a GET
request, which doesn't have a body defined, therefore reading it might cause some issues.
After the initial render, on button clicks POST
requests are being made that have a body defined.
Since there are no steps to reproduce, I would advocate trying to read c.req.json()
when c.req.method === 'GET'
is present.
Also, take the notice that raw Request
body normally can be read only once, and reading it multiple times would throw an error, but Hono caches the read result so it won't throw an error.
https://developer.mozilla.org/en-US/docs/Web/API/Request
https://github.com/honojs/hono/blob/4ca5f60def726731b3afbf3f6137f0a4b92d8b27/src/request.ts#L222-L224
from frog.
Closing until we get a minimal reproduction.
from frog.
Related Issues (20)
- Failed external API calls kill the frame, even if that frame doesn't use the awaited data HOT 4
- /api/dev shows blank screen in nextjs when initialised using npm HOT 2
- devtools don't work in next template with edge runtime enabled HOT 1
- Image created using frog cannot be validated nor casted in warpcast HOT 3
- npm template frame image isn't working in devtools HOT 1
- ERC20 Support? HOT 1
- Missing docs on error handling
- Neynar will throw undefined type error if billing expires
- Image created using node frog template cannot be validated nor casted in warpcast HOT 2
- DevTools: incorrect parsing behavior for image URLs from frame responses HOT 2
- Cast Action Middlewares HOT 1
- External fonts are rendered inconsistently HOT 5
- Image created using node frog template cannot be validated nor casted in warpcast HOT 2
- ButtonLink componet will escape '&' to '&' when the href includes '&' HOT 1
- Rows / Columns aren't properly configured for 1:1 AR frames. HOT 1
- Developer experience improvement: twice api key declaration HOT 2
- FrogUI: Malformed apostrophes in State HOT 1
- Unable to use `children` prop in separate component after v0.9 HOT 1
- Have `createSystem` extend the default system values HOT 1
- NPM->Vercel template has incorrect typings issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frog.