Does OpenSSL supports the HTTP POST request?

2010-06-02 Thread Yogesh_Gujar

Hi,
I want to use HTTP POST request for connecting to the server..I checked with
the available sample programs but it all supports HTTP GET.
So my doubt is that Is it possible to send HTTP POST message using the
openSSL.
If yes?then how I can achieve that?

Thanks.
-- 
View this message in context: 
http://old.nabble.com/Does-OpenSSL-supports-the-HTTP-POST-request--tp28754933p28754933.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: Does OpenSSL supports the HTTP POST request?

2010-06-02 Thread Patrice Guérin

Hi Yogesh

Of course, yes !
SSL is completly independant of HTTP protocol.
HTTP GET and POST methods differ in the way of passing parameters.

On GET, parameter are passed in the URI as
   URI?param=valueparam=value...param=value

On POST, parameters are passed in the same format
   param=valueparam=value...param=value
but as the request data.
In one word :
   POST Uri HTTP/1.1
   request attributes
   Content-Type: application/x-www-form-urlencoded
   Content-Length = data size
  
   param=valueparam=value...param=value- this is request data


Once the request is build, you can send it to the web server, and read 
as usual.


Hope this helps
Patrice.

Yogesh_Gujar a écrit :

Hi,
I want to use HTTP POST request for connecting to the server..I checked with
the available sample programs but it all supports HTTP GET.
So my doubt is that Is it possible to send HTTP POST message using the
openSSL.
If yes?then how I can achieve that?

Thanks.
  


__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: Does OpenSSL supports the HTTP POST request?

2010-06-02 Thread luiz
Hi

I use https post with any problem

you just need to format properly your https post string , and send the data

Regards
Luiz


 Hi,
 I want to use HTTP POST request for connecting to the server..I checked
 with
 the available sample programs but it all supports HTTP GET.
 So my doubt is that Is it possible to send HTTP POST message using the
 openSSL.
 If yes?then how I can achieve that?

 Thanks.
 --
 View this message in context:
 http://old.nabble.com/Does-OpenSSL-supports-the-HTTP-POST-request--tp28754933p28754933.html
 Sent from the OpenSSL - User mailing list archive at Nabble.com.
 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing Listopenssl-users@openssl.org
 Automated List Manager   majord...@openssl.org



__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org