Post
//trimble-id/com.trimble.id/HttpClient/post
post
[JVM]
open fun <T> post(url: String, payload: RequestPayload, headers: List<NameValuePair>, responseType: Class<T>): CompletableFuture<Response<T>>
Post method
Return
- Future that resolves to Response
Parameters
JVM
| <T> | - responseType |
| url | - url |
| payload | - It has the payload data and content type |
| headers | - headers |
| responseType | - responseType |
Throws
| TCPServiceException | - If an error occurs due to API or network-related issues. |
| SDKClientException | - If a client-side error occurs within the SDK. |