package
4.0.0-dev.22
Repository: https://github.com/edgexfoundry/go-mod-core-contracts.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CreateRequestFromFilePath creates multipart/form-data request with the specified file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeleteRequest makes the delete request and return the body.
DeleteRequestWithParams makes the delete request with URL query params and return the body.
EscapeAndJoinPath escape and join the path variables.
FromContext allows for the retrieval of the specified key's value from the supplied Context.
GetRequest makes the get request and return the body.
GetRequestAndReturnBinaryRes makes the get request and return the binary response and content type(i.e., application/json, application/cbor, ..
GetRequestWithBodyRawData makes the GET request with JSON raw data as request body and return the response.
PatchRequest makes a PATCH request and unmarshals the response to the returnValuePointer.
PostByFileRequest makes the post file request and return the body.
PostRequest makes the post request with encoded data and return the body.
PostRequestWithRawData makes the post JSON request with raw data and return the body.
PostRequestWithRawDataAndHeaders makes the post JSON request with raw data and request headers, and returns the body.
PutByFileRequest makes the put file request and return the body.
PutRequest makes the put JSON request and return the body.
SendRequest will make a request with raw data to the specified URL.