1×
Become a member
to unlock all features
Autoplay

    Read Custom HTTP Headers Sent by the Server in Angular

    angularAngular
    4 - 6

    By default the response body doesn’t contain all the data that might be needed in your app. Your server might return some special header which you have to read explicitly. In such case we can use the { observe: ‘response’} configuration of the Angular HttpClient. Let’s explore how.