Open alkor97 opened 6 years ago
The following code put in RestClient constructor will not work (by default all member pointers have undefined values, not NULLs):
RestClient
NULL
if (contentType == NULL) { contentType = "application/x-www-form-urlencoded"; // default }
Working solution would be just getting rid of if clause:
if
contentType = "application/x-www-form-urlencoded";
Observed on WeMos whild sending POST requests.
POST
@alkor97 sorry for the long delay. Please see commit 60c5191 and let me know if this fixes your issue.
The following code put in
RestClient
constructor will not work (by default all member pointers have undefined values, notNULL
s):Working solution would be just getting rid of
if
clause:Observed on WeMos whild sending
POST
requests.