Manually make requests
I have an open websocket connection to convex. How can I manually (not through code) make a request to my convex backend?
5 Replies
Can I somehow put my own messages in the websocket via the browser's network tab?
Is this what you're looking for? https://docs.convex.dev/http-api/
Convex HTTP API | Convex Developer Hub
Connecting to Convex directly with HTTP
I don't think you can interact with the websocket directly from your browser
Ok, thing is: I wanted to test to call some backend mutations without writing any code. Just in the normal websocket
You can use
curl
with the http API to hit the same mutations.
You can also use npx convex run
which can subscribe to queries, run mutations, etc.