OTS info first draft

This commit is contained in:
kexkey
2019-08-21 17:35:08 -04:00
committed by kexkey
parent 117e62c23c
commit b060fa08b9
5 changed files with 175 additions and 3 deletions

View File

@@ -82,6 +82,14 @@ main()
response_to_client "${response}" ${?}
break
;;
info)
# POST http://192.168.111.152:8080/info
# BODY {"base64otsfile":"AE9wZW5UaW1lc3RhbXBzAABQcm9vZ...gABYiWDXPXGQEDxNch"}
response=$(info "${line}")
response_to_client "${response}" ${?}
break
;;
esac
break
fi