rest.clear
rest.clear()
Description
Resets the client state. It resets all previously set options, including headers, ensuring no state is carried over between requests. This method should be used when a fresh client context is required between calls to avoid unintended reuse of state from previous requests.
Example
http = option.rest
http.content("application/json")
// execute the required call
// clear the content header
http.clear()