vijaygill / wg-ui-plus

Wireguard VPN + Management Web-UI with fine-grained control over access.
MIT License
2 stars 0 forks source link

'Proper' http methods for rest API #19

Closed thecoshman closed 5 months ago

thecoshman commented 5 months ago

POST means create a brand new resource - a new identifier would be generated by the server PUT means create/replace a resource with a brand new version, but identifier remains same PATCH means partially update a resource

IMO,

vijaygill commented 5 months ago

Closing as it uses Django which forces this pattern.