What's the pattern for getting data from a POST to a worker function?

Just setting up a super simple function for my nuxt app, the siganture looks like this

export function onRequestPost(context) {
// Some code
}


Looks like
context.request.body
is a
ReadableStream
  • should I be looking there?
'm just hitting
localhost:8788/getPresignedAssetUrl
from Postman and sticking data inside a JSON body
Was this page helpful?