how i console or access the header in react app , as i want to check the response_encryption for decryptionAs building a encryptiona nd decryption system , i send my payload in encrypted form . but from the backend i will get the data in 2 manner as either encrypted or normal.so if response_encryption is false then i have to decrypt the data/ response and save the data in my store , but it is true then i directly save the response in my store
Acccess the header data after hitting the sucessful api and try to console the header all key value pair