I am looking for an example code to make an http request in D, something how the XMLHttpRequest of jscript.
Use the following instructions to create an HTML Response object. Go to Configuration > Objects > HTML Response. In the Name field, type a suitable name for the HTML Response object. In the HTML Response text box, type the HTML code for the response.
Some people have created wrappers for libcurl, which you can use to make http requests.
Try this one. https://github.com/gmfawcett/d-play-libcurl/blob/master/fawcett/curl.d
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With