8 lines
272 B
Bash
Executable file
8 lines
272 B
Bash
Executable file
#/bin/sh
|
||
|
||
. ./tools/title.sh
|
||
echo ’Set data $data for tablename $tablename with id $id’
|
||
result=`curl --header "Content-Type: application/json" -b cookie.txt -X PUT --data "$data" $address/api.php/records/$tablename/$id 2>/dev/null`
|
||
. ./tools/show_result.sh
|
||
echo "\n"
|
||
|