Permalink
Browse files

Working JS API example

Fixes #2257

[skip ci]
  • Loading branch information...
ozh committed Sep 14, 2017
1 parent 75a2732 commit 6503148f3fb086d35d65c235162a3ec46d6e89fe
Showing with 2 additions and 2 deletions.
  1. +2 −2 readme.html
View
@@ -514,8 +514,8 @@ <h3 id="apiexample">Sample requests</h3>
},
// callback function that will deal with the server response
function( data) {
// for instance, return short URL
return data.shorturl;
// now do something with the data, for instance show new short URL:
alert(data.shorturl);
}
);</tt></pre>

0 comments on commit 6503148

Please sign in to comment.