Skip to content

RPC vs REST #23

@margyle

Description

@margyle

As introduced by @jjok

Something I have been thinking, which I may open a separate issue about, is that I'm not really sure that brewing coffee very easily fits into the REST model of APIs. REST usually good if you're creating, updating and deleting resources.
I think maybe an RPC-style API make work better, where each endpoint is the name of a function that can be called startGrinder(), brewCoffee() etc and the body of the request is the parameters to those functions.
I'd be interested in hearing people's opinions. Let me know what you think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions