bool testCreateInvitation() { char *response = NULL; response = createInvitation("*****@*****.**"); printf("Response Received :%s\n", response); return true; }
int main(void) { char *response = NULL; iotkit_init(); response = createInvitation("*****@*****.**"); printf("Response Received :%s\n", response); iotkit_cleanup(); if(checkResponseValue(response, 201) == true) { exit(EXIT_SUCCESS); } exit(EXIT_FAILURE); }