CRREL / GRiD-API

9 stars 3 forks source link

More explicit HTTP return codes for POST/DELETE #38

Open AlexMountain opened 6 years ago

AlexMountain commented 6 years ago

Proposed changes:

Return 201 for a successful POST that immediately creates an object.
Return 202 for a successful POST that kick off a task.
Return 204 for a successful DELETE.