X-Git-Url: https://git.defcon.no/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fapi-nodes.txt;h=03b82b6f867627e8d94dda5c729f35a6f4c6da71;hb=60bf626a9d34dee29c5644a2a5c8c24829c87f13;hp=fd8d3b9c0ec165d8ce14a4f54c2058c3f383b9dd;hpb=f48343d880910f4466072e8c10983685d3e75331;p=hermes diff --git a/doc/api-nodes.txt b/doc/api-nodes.txt index fd8d3b9..03b82b6 100644 --- a/doc/api-nodes.txt +++ b/doc/api-nodes.txt @@ -1,6 +1,6 @@ General description on API protocol: ========================================================================= -All API nodes currently use GET requests for all parameters. +All API nodes currently use POST requests for all parameters. All API nodes return JSON data unless explicitly noted , and all JSON results will contain a 'response' element. The 'response' may be set to: @@ -706,10 +706,6 @@ Some TODO's listed above ... Permissions! (user/permissions?user=...) -Change all GET to POST - -Implement test-tool for POST-based communication ;) - Improve robustness of change_pw: fetch old password for rollback/testing. Check for locations where sql_dbexec_rows is more appropriate/correct than sql_dbexec