JSONP and POST?

42 views
Skip to first unread message

Leandro Ardissone

unread,
May 19, 2009, 11:50:13 PM5/19/09
to checkvist-api
Ahh, great to know that you've opened the API.

But it's soo sad that we need to use JSON via POST to authenticate.
I think it's not possible using javascript.

Anyone knows how to authenticate using javascript?

KIR

unread,
May 20, 2009, 4:06:42 PM5/20/09
to checkvist-api
Good point regarding POST in JS.
Initially, I just didn't want for passwords to flow around in GET
requests.
Do you think I should enable GET-based authentication with the same
syntax?

Yes, I'm going to provide HTTPS for authentication, but a couple of
months later.

Regards,
KIR

Leandro Ardissone

unread,
May 20, 2009, 4:11:42 PM5/20/09
to checkv...@googlegroups.com
Why not setup a remotekey (like FriendFeed) then you just use the remotekey instead of the password?.
But yes HTTPS is a must in that cases.

Or even better OAuth but it requires few changes to the current API.

Peace,
Leandro

KIR

unread,
May 21, 2009, 4:16:05 AM5/21/09
to checkvist-api
On May 21, 12:11 am, Leandro Ardissone <lardiss...@gmail.com> wrote:
> Why not setup a remotekey (like FriendFeed) then you just use the remotekey
> instead of the password?.But yes HTTPS is a must in that cases.

I've just updated the API - the remote API key was introduced +
GET request was enabled for the authentication with JSON.

HTTPS is coming, have to deal with certificates.

>
> Or even better OAuth but it requires few changes to the current API.

OAuth is a great technique, but I'm not ready to introduce it by
this moment.

Thanks!
KIR
Reply all
Reply to author
Forward
0 new messages