Skip to content

Instantly share code, notes, and snippets.

@malcommac
Created March 15, 2022 19:18
Show Gist options
  • Save malcommac/2dd576cbd501b25eef89d9f25739e1ee to your computer and use it in GitHub Desktop.
Save malcommac/2dd576cbd501b25eef89d9f25739e1ee to your computer and use it in GitHub Desktop.
let myObject = ...
req.body = .json(myObject)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment