Restful API
The insomnia client is used, (Postman is too slow, SoapUI has not been tested).
The insomnia client is used, (Postman is too slow, SoapUI has not been tested).
A great 5-video tutorial: 35minutes on YouTube (6 tomatoes / 2.5 hours for non-stop studing by coding). Author’s Github (py2), My Github (py3).
Differences in my Github code:
on_put()
to test validity of input json from clienton_delete()
to test params (just to test, should NOT be used in real-world)/test2?x=1&y=3
to test paramsUsage in Nix:
pip3 install falcon gunicorn
gunicorn app:api # in the folder of app.py
Usage in Win (tested in bash sub system):
...