From 7a22cab34332707ea2fe5d3e690033c424886c9b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 15 Oct 2017 13:07:39 -0400 Subject: Changed auth password to token --- source/http.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source/http.h') diff --git a/source/http.h b/source/http.h index 9597a1d..ed8c017 100644 --- a/source/http.h +++ b/source/http.h @@ -24,14 +24,13 @@ typedef enum { } http_res; /** - * Submits a JSON request to a web service. Takes ownership of the cJSON object, - * because it needs to embed authentication data in it. + * Submits a JSON request to a web service. Takes ownership of the cJSON object. */ int submitToApi( const char* endpoint, WOLFSSL_CTX* sslContext, cJSON* data, const char* username, - const char* password); + const char* token); #endif /* end of include guard: HTTP_H_A46C206E */ -- cgit 1.4.1