Getting a HTTP request body over wire for Vibe.d to process

Dukc ajieskola at gmail.com
Sat Aug 10 12:56:54 UTC 2019


I am trying to use XMLHttpRequest[1] to send a request with a 
body for Vibe.D to process. However, it seems that I'm getting 
tripped up on serverside and client side api simultaenously, with 
no way to know what's really happening. I'm starting to be 
positive that I need a code example or I'll be trying to pass 
that HTTP body till Chrismas!

Can anybody suggest an example, with both clientside and 
serverside code. I don't care anybody if the body is raw bytes or 
JSON, I just want to finally receive it.

[1] 
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send


More information about the Digitalmars-d-learn mailing list