Skip to content
Arxisos edited this page Feb 28, 2012 · 1 revision

Of course, you can call your ServiceStack webservice from your JavaScript client, too. But ServiceStack doesn't provide a custom client for JavaScript, so we recommend to use external ones like jQuery.

Using jQuery:

$.getJSON("http://localhost/Backbone.Todo/todos", function(todos) {
    alert(todos.length == 1);
});

Clone this wiki locally