withHeader method
Adds a header to the request.
@param key The name of the header. @param value The value of the header.
Implementation
FusionAuthRESTClient withHeader(String key, String value) {
headers[key] = value;
return this;
}
Adds a header to the request.
@param key The name of the header. @param value The value of the header.
FusionAuthRESTClient withHeader(String key, String value) {
headers[key] = value;
return this;
}