hopjs
Version:
A RESTful declarative API framework, with stub generators for Shell, and Android
15 lines (13 loc) • 481 B
text/jade
extends layout
block head
script(src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js")
script(src=Hop.hopjsURL)
script(src=Hop.apiURL)
block content
script
a(href=Hop.docURL) Documentation about the API
p.
You an also use the API you've defined in your own JavaScript applications!
Simply open the JavaScript console in your browser and type:
pre
UserService.create({ name: "user", password:"password", email:"email@email.com" });