Re: std.json questions

2015-04-27 Thread Pierre Krafft via Digitalmars-d-learn
On Saturday, 25 April 2015 at 18:30:33 UTC, Baz wrote: On Saturday, 25 April 2015 at 09:56:25 UTC, tired_eyes wrote: I think this is ugly and clunky approach, what is the beautiful one? What you clearly need is a serializer: look at these:

Re: How to POST data with net.curl

2015-04-02 Thread Pierre Krafft via Digitalmars-d-learn
On Thursday, 2 April 2015 at 07:45:16 UTC, Suliman wrote: I have next request, that work fine with curl: curl -X POST -F upload=@wgs84_latlon.zip http://ogre.adc4gis.com/convert I wrote next code: void main() { auto binfile = cast(ubyte[]) read(`D:\Apps\curl\wgs84_latlon.zip`);