Creating a REST endpoint

There are a great many micro web frameworks out there that can help you create a simple RESTful endpoint, many enabled by PowerShell. Since we do not expect you to be a full-stack developer, we will use Polaris in our example.

A RESTful endpoint should always implement methods following the CRUD abbreviation: Create, Read, Update, Delete. The create method should always create new objects. The read method is used to retrieve objects. With the update method, existing objects can be modified, and the delete method removes objects.

Our endpoint will be used to maintain a local file structure to implement all four methods.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.247.31