comp.lang.ada
 help / color / mirror / Atom feed
* debian 6 aws.client.post sll trouble
@ 2013-06-20 16:03 björn lundin
  2013-06-20 16:24 ` Pascal Obry
  0 siblings, 1 reply; 9+ messages in thread
From: björn lundin @ 2013-06-20 16:03 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-06-24  8:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-20 16:03 debian 6 aws.client.post sll trouble björn lundin
2013-06-20 16:24 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox