Requests to www. prefix

0 views
Skip to first unread message
Message has been deleted

matija

unread,
Sep 12, 2008, 6:46:43 AM9/12/08
to koornk development
Hi guys!

Please change your API URL requests. www prefix will no longer be
available - you'll get 302 page not found. I'll change that at the end
of this month (oct-08).

Now works with both, with or without www. prefix.

Click on http://groups.google.com/group/koornk/web/api-documentation -
or copy & paste it into your browser's address bar if that doesn't
work.

matija

unread,
Sep 12, 2008, 6:55:34 AM9/12/08
to koornk development
ok, forget all this ... there are just too many calls to www. that
will be lost then. have no time to contact all and explain then to
change it.

pff :)

Miha Vrhovnik

unread,
Sep 12, 2008, 9:54:15 AM9/12/08
to koo...@googlegroups.com
"matija" <matija....@gmail.com> wrote on 12.09.2008 12:46:43:

>
>Hi guys!
>
>Please change your API URL requests. www prefix will no longer be
>available - you'll get 302 page not found. I'll change that at the end
>of this month (oct-08).
>
>Now works with both, with or without www. prefix.
>

404 is page not found 302 is redirect. Don't remove it change it to 301 (permanent redirect) it will take a while but eventually most users will update :)

Regards,
Miha

--
It's time to get rid of your current e-mail client ...
... and start using si.Mail.

It's small & free. ( http://www.simail.si/ )

Tomaz

unread,
Oct 1, 2008, 5:50:24 AM10/1/08
to koornk API
If anybody likes to play around with jQuery ... check out how simple
it is to post a "kokodajs" aka "twit" with with this JS lib:

- jQuery post function:
$.post(
"http://koornk.com/api/update/",
{status: "a string of text", origin: "code"}
);

- jQuery ajax function - a more deterministic approach
$.ajax({
type: "POST",
url: "http://koornk.com/api/update/", //since the www prefix
will no longer be supported
data: {status:"a string of text", origin: "code", reply_to:
"ID"},
dataType: "json",
error: function() , // do something errorish
success: function() // get some feedback if everything is ok
});

jQuery ajax docs: http://docs.jquery.com/Ajax

matija

unread,
Jan 28, 2009, 8:26:51 AM1/28/09
to koornk API
Added topic feature to API calls:

- /api/topic/ - returns 20 recent statuses assigned to topic (topic_id
variable is required)
- /api/my_topics/ - returns topics you follow

click on http://groups.google.com/group/koornk/web/api-documentation -
Reply all
Reply to author
Forward
0 new messages