Page 1 of 1

how do i seng requests and handle answers of an http server?

Posted: Sat Nov 25, 2006 1:01 pm
by pedrotuga
Ok.... i am trying to write a blogger client. I red the blogger api documentation and stuff, but i got stuck in the very basic starting.

Like... how do i send requests and how do i recive the answers?

There should be a simple way to do this on the command line.
Also, how do i do it in a php script?

Posted: Sat Nov 25, 2006 1:06 pm
by volka
What blogger api?

Posted: Sat Nov 25, 2006 2:07 pm
by pedrotuga
I wouldnt mind using any.
The XML-RPC looks like the easiest one. But they came up with a new one, ant then yet another new one.

i would use any, i guess its a mater of parsing XML, being it rpc, atom, whatever.

But the stupid thing is the fact of me not knowing how to send a request to a server :oops: :oops: :oops:

How do i do that?

Posted: Sat Nov 25, 2006 4:56 pm
by Ambush Commander
The XML-RPC library you choose to use should do it for you.

Posted: Sun Nov 26, 2006 5:28 pm
by pedrotuga
Ambush Commander wrote:The XML-RPC library you choose to use should do it for you.
It might, i will guive a look on their documentation... but still.. how do I send HTTP requests?

BTW... any sugestions on a XML RPC library? It looks like the main one have been forked.

Posted: Sun Nov 26, 2006 9:35 pm
by pedrotuga
Ok... i fugure out i can do it using libcurl. Thats kind of ok but, does anybody knows how do i send a raw header to an address?