Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 523 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 523 Bytes

Usage

app.py

start the flask/wsgi server,
then send requests using curl or Invoke-WebRequest. (Note: using curl.exe on windows is not recomended)

$ curl http://[server address]/[text or url]
> (Invoke-WebRequest http://[server address]/[text or url]).Content
 or
> (iwr http://[server address]/[text or url]).Content

Examples:

curl-example iwr-example

main.py

python main.py [text or url]

Example:

mainpy-example