function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Akansha RangariAkansha Rangari 

http Callouts are not working in apex class but working in anonyms window

I am using http callouts to get data its working fine and giving status code 'OK' while executing from anonyms window but not working in apex class its giving error 401 status code and unauthorize.