U
U
user.2018-12-25 16:25:24
Python
user., 2018-12-25 16:25:24

Who used the hug library to create the rest in python?

Good afternoon,
There is a script, you need to use rest to interact with the client, I found a lot of libraries on the Internet that implement rest, the simplest seemed to me hug( www.hug.rest/), if I understand the principle correctly, then for me the transition to rest will happen almost transparently ? Roughly speaking, just add @hug annotations . over functions? and after start http server ./hug -f script.py At the moment my script takes arguments when called: ./script.py arg1 arg2 arg3

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question