JamesRandall / FunctionMonkey

Write more elegant Azure Functions with less boilerplate, more consistency, and support for REST APIs. Docs can be found at https://functionmonkey.azurefromthetrenches.com
MIT License
294 stars 50 forks source link

Primitives / Arrays in HTTP body #170

Open jlocans opened 4 years ago

jlocans commented 4 years ago

Hi!

I'm having an issue figuring out how to read arrays or primitives passed in HTTP body. It looks to me that from body you can map only objects, is it so? If so, perhaps there is a way to access it via HttpRequestMessage.Content? But also can't find a way to access HttpRequestMessage.