I apologize in advance for posting what might be a simple question. I've been trying to figure out how to parse a json request. For now, I've been doing: request.body.text
But I doubt that is the correct way. It returns a string, which makes it awkward to work with.
I tried this approach, but I kept getting an error. It complained that it couldn't parse text/plain, it's what lead me to context.byContent. Will try again now that I feel more confident and have a working solution I can always fallback to. Thanks.
Will create a sample project and possibly a screencast later tonight. They are not sending plain text, if I inspect the header in the handler, I can see its application/json. Anyway, will create a sample app and try to reproduce.