Skip to content

Commit

Permalink
Working JS API example
Browse files Browse the repository at this point in the history
Fixes #2257

[skip ci]
  • Loading branch information
ozh committed Sep 14, 2017
1 parent 75a2732 commit 6503148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.html
Expand Up @@ -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>

Expand Down

0 comments on commit 6503148

Please sign in to comment.