http-request
http-request copied to clipboard
Creating a POST request with JSON payload
Is it possible to make a post request with content type of application/json and to send a json object?
HTTPRequest req = HTTPRequest.post(url).header(key, value).send("JSON string"); int code = req.code();
@kevinsawicki I believe this issue can be closed now.