Reputation: 21599
I have a set of REST services that all follow same URL/verb pattern.
A few of those do not implement certain inessential combinations of URL/verb.
Since the application using those services does not know in advance which operations are implemented, it has to discover unimplemented ones dynamically.
I see two approaches:
First approach seems better at the moment, since it is easier to implement, and requires one less request for the positive case (considering that OPTIONS are not cacheable).
Is there anything technically wrong with that approach?
Upvotes: 0
Views: 845