IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API

WL.Client.removeGlobalHeader

Remove the global HTTP header added by the WL.Client.addGlobalHeader API call.

Parameter Description
headerName The name of the header to be removed..


Return Value

None.


Example

WL.Client.removeGlobalHeader("MyCustomHeader");


Parent JavaScript client-side API