PyFarsi's PasteBin
Features :
- Syntax Highlighting
- Create documents with nc(Netcat)
- Api
Todo :
- Create documents in website
How to run : Run mainapp.py and server.py :)
Api Usage :
- For create documents :
- Api url : /api/documents
- Request body : content (content = 'your code')
- Request method : POST
- Response Content-type : application/json
- For get document content(You can use /raw/key instead of this api) :
- Api url : /api/getdoc
- Request body : key (key = 'key of a paste')
- Request method : POST
- Response Content-type : application/json
Special Thanks to :