Skip to content

Fixed Requests! #10

Open
Open
@CyborgHead

Description

@CyborgHead

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions