vibe-d REST API: POSTing a struct

bomat Tempest_spam at gmx.de
Sat Dec 2 12:39:01 UTC 2023


On Friday, 1 December 2023 at 19:18:19 UTC, bomat wrote:
> So my question is, is it possible to have vibe-d parse the 
> request body into a struct "implicitly"?

I'm gonna answer my own question here, it's `@bodyParam`.
https://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/40001/
https://github.com/vibe-d/vibe.d/pull/1676

I wasn't aware of the dedicated vibe-d forum before. As I've seen 
some vibe-d related questions in this forum as well, I thought 
this would be the place to ask...


More information about the Digitalmars-d-learn mailing list