Hacker News new | ask | show | jobs
RESTful API for executing Ansible playbooks remotely (github.com)
2 points by lfkdev 718 days ago
1 comments

REST is for data transfers not executions. One of these would have been a much better choice: JSON-RPC, XML-RPC, gRPC.
I'm with you that RPC is better suited for action-oriented APIs - but flask-restx gets the job done well and I know more about it, which is enough for me to simply stick with it. I also like swagger. I'll consider RPC for my next project though