IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side APIWL.Client.removeGlobalHeader
Remove the global HTTP header added by the WL.Client.addGlobalHeader API call.
WL.Client.removeGlobalHeader(headerName)
Parameter Description headerName The name of the header to be removed..
Return Value
None.
Example
WL.Client.removeGlobalHeader("MyCustomHeader");
Parent JavaScript client-side API