bug fixing
parent
7c36c607c1
commit
22e25d802e
|
|
@ -1,8 +1,5 @@
|
|||
#!/bin/bash
|
||||
#! /bin/bash
|
||||
|
||||
echo "Content-type: application/json"
|
||||
echo ""
|
||||
echo ""
|
||||
echo '{"message": "test message"}'
|
||||
exit
|
||||
|
||||
|
|
|
|||
|
|
@ -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>]}`
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
#! /bin/bash
|
||||
|
||||
echo "Content-type: application/json"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
sudo /usr/local/www/cgi-bin/doorcontrol-main.cgi "$QUERY_STRING"
|
||||
|
|
|
|||
Loading…
Reference in New Issue