?

Log in

No account? Create an account
Handshaking - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Handshaking [Dec. 27th, 2004|01:00 am]
LiveJournal Client Discussions

lj_clients

[cesareborgia]
Sorry for the very _dumb_ question, but I'm almost not familiar with net-programming and programming for lj. =( However, should produce simple application for posting to lj.. So now I'm stuck on the very first step:
if I send somthing like:
POST /interface/flat HTTP/1.0
Host: www.livejournal.com
Content-type: application/x-www-form-urlencoded
Content-length: TESTLENGTH

mode=login&user=TESTUSER&password=TESTPASSOWRD
//no challenge. just need to check the principle..

I get responce message:
errmsg
Client error: No mode specified.

The same thing with any post mode I tried (postevent etc)
So.. what is wrong with the mode? =/
linkReply

Comments:
[User Picture]From: cesareborgia
2004-12-27 02:59 pm (UTC)
thanks for the reply,
the problem occured to be even more stupid. Just one unnecessary string was transmitted.
(Reply) (Parent) (Thread)