#Oak post request
7 messages · Page 1 of 1 (latest)
Have you figured it out?
Maybe an answer on here can help: https://stackoverflow.com/questions/62363699/how-to-access-form-body-in-oak-deno
Or this if you scroll down on here https://deno.land/x/oak@v11.1.0:. get("/:postId", (ctx) => {
ctx.response.body =
Forum: ${ctx.params.forumId}, Post: ${ctx.params.postId};
});
ty
Did you figure it out?
yes i just did this router.post("/continent", async(ctx) => { const body = await ctx.request.body().value console.log(body) }); @rain totem