0

It appears that by default all methods (GET, PUT, POST, DELETE and HEAD) are enabled when a REST API is created for a resource. Is it possible to generate REST APIs only for a subset of these methods (for ex. only GET) ?

Could you please point me to the file where all the routes and methods are registered to the handlers so that I can try commenting out the ones I don't need ?

Regards, Subramanian

SubuKris
  • 71
  • 2

1 Answers1

0

You can hide Endpoints, look at the section "Hiding methods and REST endpoints":

Exposing models over REST

AndreF
  • 36
  • 1
  • 1