Skip to content

Instantly share code, notes, and snippets.

@azaharafernandezguizan
Created August 3, 2020 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azaharafernandezguizan/17b5407223ba9a71c6a889d693f6add2 to your computer and use it in GitHub Desktop.
Save azaharafernandezguizan/17b5407223ba9a71c6a889d693f6add2 to your computer and use it in GitHub Desktop.
Post in Deno not working correctly
const addConditions = async (context: any) => {
const formData = await context.request.body() as IReceivedConditions;
formMealsMenu(formData);
context.response.body = { message: 'OK' };
context.response.status = 200;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment