mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Removed /arbitrary PUT and PATCH API endpoints.
It's best to let the core decide which one to use now that it is able to.
This commit is contained in:
@@ -8,7 +8,7 @@ if [ -z "$*" ]; then
|
||||
echo "Usage:"
|
||||
echo
|
||||
echo "Host/update data:"
|
||||
echo "qdata [POST/PUT/PATCH] [service] [name] [dirpath] <identifier>"
|
||||
echo "qdata POST [service] [name] [dirpath] <identifier>"
|
||||
echo
|
||||
echo "Fetch data:"
|
||||
echo "qdata GET [service] [name] <identifier-or-default> <filepath-or-default> <rebuild>"
|
||||
@@ -36,7 +36,7 @@ if [ -z "${name}" ]; then
|
||||
fi
|
||||
|
||||
|
||||
if [[ "${method}" == "POST" || "${method}" == "PUT" || "${method}" == "PATCH" ]]; then
|
||||
if [[ "${method}" == "POST" ]]; then
|
||||
directory=$4
|
||||
identifier=$5
|
||||
|
||||
|
Reference in New Issue
Block a user