Commented out printf statements in the generic client.

This commit is contained in:
Steve Sperandeo
2024-03-05 10:43:18 -08:00
committed by GitHub
parent d0763b643f
commit ccf8dda691

View File

@@ -57,10 +57,10 @@ char* callInternal(genericClient_t *client,
apiClient_invoke(client->client, path, queryParameters, headerParameters, formParameters, headerType, contentType, body, method);
if (client->client->response_code == 200) {
printf("%s\n","OK");
//printf("%s\n","OK");
}
if (client->client->response_code == 401) {
printf("%s\n","Unauthorized");
//printf("%s\n","Unauthorized");
return NULL;
}
char* elementToReturn = strndup((char*)client->client->dataReceived, client->client->dataReceivedLen);
@@ -138,7 +138,7 @@ char* Generic_createNamespacedResource(genericClient_t *client, const char *ns,
char* Generic_createResource(genericClient_t *client, const char* body) {
char path[128];
makeResourcePath(path, client, "");
printf("%s\n", path);
//printf("%s\n", path);
return callSimplifiedInternal(client, path, "POST", body);
}