Restructure API Methods
What file or files will be changed by the refactor
Back end routing files, front end files that make affected API calls. README file and integration tests. HTTP Methods used for each route should make sense, such as POST for logout, delete for removing data, etc.
Describe what changes will be made by the refactor
Restructure API routes to utilize HTTP method more appropriately. For example, /api/courses/label_names
has a GET method, and setting course label names uses HTTP POST at /api/courses/label_names/set
. With the different HTTP method the same route can be used and the same path can be used.
Describe the benefits of the refactor
Reduces number of API paths, make more sense logically.