mfshell: add the status command and the device/get_status api call

This commit is contained in:
josch
2014-09-24 18:33:04 +02:00
parent 6ca27f0a6a
commit 29a343267d
8 changed files with 134 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ int mfconn_api_user_get_info(mfconn * conn)
return -1;
api_call = mfconn_create_signed_get(conn, 0, "user/get_info.php",
"&response_format=json");
"?response_format=json");
http = http_create();
retval = http_get_buf(http, api_call, _decode_user_get_info, NULL);