News for hackers. Stuff that matters.
Re:RESTful API for executing Ansible playbooks remotely by dogaar on Saturday June 29, 2024 @03:43PM (#40832916)
REST is for data transfers not executions. One of these would have been a much better choice: JSON-RPC, XML-RPC, gRPC.
Re:RESTful API for executing Ansible playbooks remotely by lfkdev on Wednesday July 03, 2024 @05:51AM (#40864393)
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