marmelab / FakeRest

Patch fetch/XMLHttpRequest to fake a REST API server in the browser, based on JSON data.
MIT License
439 stars 48 forks source link

REST flavor #56

Closed patrickp-at-work closed 1 year ago

patrickp-at-work commented 1 year ago

FakeRest uses a standard REST flavor, described below.

Can you clarify in your docs where this flavor came from? Was it invented by marmelab? Because if it is a common standard also used elsewhere, it would be useful to link it

fzaninotto commented 1 year ago

Ah, this flavor was pretty common at the time I wrote the library, because most people I knew did REST that way... But I don't have a spec or a paper to link to. That's the problem of REST: there is no standard.

The fact that we use the term "standard" in the readme is misleading. It's a common practice.