Questions tagged [uniform-interface]

https://www.martinfowler.com/bliki/UniformAccessPrinciple.html

4 questions
52
votes
4 answers

REST - What exactly is meant by Uniform Interface?

Wikipedia has: Uniform interface The uniform interface constraint is fundamental to the design of any REST service.[14] The uniform interface simplifies and decouples the architecture, which enables each part to evolve independently. The four…
richard
  • 12,263
  • 23
  • 95
  • 151
1
vote
1 answer

Avoiding building (REST API) URLs on the frontend

I've been working on backends for a while now and only recently started working a bit on the frontend, which got me nearer to an end-to-end REST implementation. More to the point, an important principle of REST is to make it discoverable and…
Christian
  • 27,509
  • 17
  • 111
  • 155
0
votes
1 answer

process in Uniform Interface vs HTTP verbs

by considering the application of REST principles in the web. i am doing a case study on REST and I have some doubt mostly on Uniform interface. I assumes that Uniform Interface has only one single PROCESS instead of HTTP verbs (e.g. get, post,…
Mason
  • 29
  • 1
  • 7
0
votes
1 answer

List and uniform access principle

I have the following code, and I was wondering why the list.head.effects = part is necessary here. To my understanding, uniform access princile says that the list should be returned by just the list.head.effects, at which point I could access the…
Zavior
  • 6,412
  • 2
  • 29
  • 38