#define GNUNET_REST_API_NS_GNS "/gns"
+
#define GNUNET_REST_GNS_PARAM_NAME "name"
#define GNUNET_REST_GNS_PARAM_RECORD_TYPE "record_type"
};
-
struct RequestHandle
{
struct MHD_Response *resp;
json_t *result_array;
json_t *record_obj;
- char *record_value;
char *result;
handle->gns_lookup = NULL;
#$1 is link
#$2 is grep
cache="$(curl -v "$1" 2>&1 | grep "$2")"
- echo $cache
+ #echo $cache
if [ "" == "$cache" ]
then
exit 1
#First, start gnunet-arm and the rest-service.
#Exit 0 means success, exit 1 means failed test
-#No test for subsystem available
-
identity_link="http://localhost:7776/identity"
wrong_link="http://localhost:7776/identityandmore"