This is an intermezzo between work on graph database integration. I needed some quick and dirty temporary script, that makes two calls to the web API and then calls a web-hook uri.
It's very easy to create standalone web-servers in Rye, but I wanted to just pluck this script into an existing structure as a CGI. To not have another process running for this to work.
So I integrated CGI support, more complex HTTP request creation and some other things. I know CGI is not all the rage right now :)
Below on the left is my script. On the right I tried to remove some of the Rye-s features, to see how it would look ...
Komentarji
Objavite komentar