Re:Ask HN: Do you still write REST APIs?
by GianFabien on Tuesday July 13, 2021 @04:03AM
(#27818593)
Yes, but only for CRUD type access. For WebApps that have most of the business-logic on the server side, I have been using WebSockets -- pub/sub (MQTT) as well as RPC semantics.
It really depends on your use-case. I used to have most of the business logic in the web client, but over time I have come to see that you can implement greater integrity by not exposing CRUD-like operations over HTTPS.
It really depends on your use-case. I used to have most of the business logic in the web client, but over time I have come to see that you can implement greater integrity by not exposing CRUD-like operations over HTTPS.