bug fixing

master
Bryan 2020-12-20 09:49:21 -06:00
parent 7c36c607c1
commit 22e25d802e
3 changed files with 5 additions and 6 deletions

View File

@ -1,8 +1,5 @@
#!/bin/bash
#! /bin/bash
echo "Content-type: application/json"
echo ""
echo ""
echo '{"message": "test message"}'
exit

View File

@ -1,5 +1,3 @@
#! /bin/bash
# This will parse the variable $QUERY_STRING.
# The values will be stored in an associative array.
# The value for a key will be stored in the array element `${param[<KEY>]}`

View File

@ -1,3 +1,7 @@
#! /bin/bash
echo "Content-type: application/json"
echo ""
echo ""
sudo /usr/local/www/cgi-bin/doorcontrol-main.cgi "$QUERY_STRING"