You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How is it possible to make dynamic requests using this library?
The following code snippets will NOT work since you made the URL of the GET Request and the Body of the POST Requests Constant.
// GET Request.
int statusCode = client.get("/api/myservice/id=" + id, &response);
// POST Request.
char postdata = /* Some data from function parameter, for example. */;
int statusCode = client.post(""/api/myservice/id", postdata , &response);
The text was updated successfully, but these errors were encountered:
How is it possible to make dynamic requests using this library?
The following code snippets will NOT work since you made the URL of the GET Request and the Body of the POST Requests Constant.
// GET Request.
int statusCode = client.get("/api/myservice/id=" + id, &response);
// POST Request.
char postdata = /* Some data from function parameter, for example. */;
int statusCode = client.post(""/api/myservice/id", postdata , &response);
The text was updated successfully, but these errors were encountered: