Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dogaar
· 2y ago · 0 comments
REST is for data transfers not executions. One of these would have been a much better choice: JSON-RPC, XML-RPC, gRPC.
Comments
[–]
lfkdev
2y ago
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