From: "björn lundin" <b.f.lundin@gmail.com>
Subject: debian 6 aws.client.post sll trouble
Date: Thu, 20 Jun 2013 09:03:42 -0700 (PDT)
Date: 2013-06-20T09:03:42-07:00 [thread overview]
Message-ID: <884e2967-ec5f-4c79-abd9-4982a36afd5f@googlegroups.com> (raw)
Hi!
I got a debian 6, with
libaws2.10 and gnat 4.6
I try to use AWS.Client.Post on a https-URL but I get this
exception:
adjust/finalize raised PROGRAM_ERROR: SSL not supported
I've only installed via apt-get, no programs/libs are compiled onto this system.
Is there a simple way of getting SSL support here ?
code as :
Aws.Headers.Set.Add (My_Headers, "X-Authentication", My_Token.Id);
Aws.Headers.Set.Add (My_Headers, "X-Application", Token.App_Key);
Aws.Headers.Set.Add (My_Headers, "Accept", "application/json");
Answer := Aws.Client.Post (Url => "https://api-ng.betstores.com/betting/betfair/services/beta-api.betfair.com/betting/json-rpc",
Data => "[{'jsonrpc': '2.0', 'method': 'SportsAPING/v1.0/listEventTypes', 'params': {'filter':{}}, 'id': 1}]",
Content_Type => "application/json",
Headers => My_Headers);
--crash above
Log(Aws.Response.Message_Body(Answer));
thanks
/Björn
next reply other threads:[~2013-06-20 16:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-20 16:03 björn lundin [this message]
2013-06-20 16:24 ` debian 6 aws.client.post sll trouble Pascal Obry
2013-06-22 10:18 ` björn lundin
2013-06-22 10:20 ` björn lundin
2013-06-22 11:24 ` Ludovic Brenta
2013-06-22 20:52 ` björn lundin
2013-06-23 6:46 ` Jacob Sparre Andersen
2013-06-24 8:45 ` Jacob Sparre Andersen
2013-06-23 10:43 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox