Become a member
to unlock all features

    Read Custom HTTP Headers Sent by the Server in Angular

    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.