HttpClientpostForUpdate Method A Sandcastle Documented Class Library
Perform an HTTP POST request, parsing the JSON response to update the state of an existing object.

Namespace: Ontotext.S4.client
Assembly: S4ClientLibrary (in S4ClientLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void postForUpdate(
	string target,
	Object responseObject,
	ServiceRequest requestBody
)

Parameters

target
Type: SystemString
the URL to request (relative URLs will resolve against the {@link #getBaseUrl() base URL}).
responseObject
Type: SystemObject
the Java object to update from a successful response message for this URL
requestBody
Type: Ontotext.S4.serviceServiceRequest
the object that should be serialized to JSON as the request body. POST requests require a request body, so this parameter must not be
null
See Also

Reference