User:Alexander Roidl/flask: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 10: Line 10:
http://37.139.6.124:8080/api/books
http://37.139.6.124:8080/api/books


<pre>
{
  "books": [
    {
      "author": "Jan Tschichold",
      "file": "The_Form_of_the_Book___Essays_on_the_Moral_-_Jan_Tschichold.pdf",
      "id": 1,
      "title": "The Form of the Book"
    }
  ]
}
</pre>


Code on the git:
Code on the git:


https://git.xpub.nl/xpub-lib/log.html
https://git.xpub.nl/xpub-lib/log.html

Revision as of 23:14, 19 May 2018

Flask

first version of lib (super super prototype)

http://37.139.6.124:8080/


with first API setup:

http://37.139.6.124:8080/api/books

{
  "books": [
    {
      "author": "Jan Tschichold", 
      "file": "The_Form_of_the_Book___Essays_on_the_Moral_-_Jan_Tschichold.pdf", 
      "id": 1, 
      "title": "The Form of the Book"
    }
  ]
}

Code on the git:

https://git.xpub.nl/xpub-lib/log.html