Plant-Tracer / webapp

Client and Server for web-based JavaScript app
GNU Affero General Public License v3.0
0 stars 2 forks source link

remake API to use modern parameter formats #420

Open simsong opened 3 weeks ago

simsong commented 3 weeks ago

Most of our APIs are implemented using HTTP POST parameters, using ? and & for GET parameters, or using a JSON object that is uploaded.

Modern API writers prefer to have the API arguments /separated/by/slashes.

If we redo this, it makes the API implementation code shorter.