[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KIO::http_post authenticated requests
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2010-07-16 18:30:32
Message-ID: AANLkTilStRAwBakGR2DjIL1W0WK2LaaGZ1jPFnXHA3oF () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
I am creating some support for reviewboard, since the API is exposed using
HTTP_POST, I'm using that. Right now, my main problem is that I need
authentication. I was told that it would just work by putting it into the
url with QUrl::setUserName and QUrl::setPassword but it's not really working
out, I keep getting errors saying I'm not logged in, I'm pretty sure the
rest of the request is correct because it works with "curl".

Could someone tell me how can I get to work? Any other code that's doing
anything similar?

Thanks,
Aleix

[Attachment #5 (text/html)]

<div class="gmail_quote">Hi,<div>I am creating some support for reviewboard, since \
the API is exposed using HTTP_POST, I&#39;m using that. Right now, my main problem is \
that I need authentication. I was told that it would just work by putting it into the \
url with QUrl::setUserName and QUrl::setPassword but it&#39;s not really working out, \
I keep getting errors saying I&#39;m not logged in, I&#39;m pretty sure the rest of \
the request is correct because it works with &quot;curl&quot;.</div>

<div><br></div><div>Could someone tell me how can I get to work? Any other code \
that&#39;s doing anything \
similar?</div><div><br></div><div>Thanks,</div><div>Aleix</div> </div><br>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic