koa 👋 heroku : get no abs books
git clone project
node index.js
-
:get
-/api/getAllBooks
-
:post
{ url } -/api/getNoAbsBooks
request url, cut the Abs, return the html:string
:post
{ url } -/api/addJsonStore
add JsonStore-API /books/chinaBookName/form
form
let form = {
id: URI.encode(url.href()),
routeLink: url.pathname(),
origin: url.origin(),
url: url.href(),
time: new Date().getTime(),
name: name,
};
MIT © chinanf-boy