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

PageReference and RequestHeader!!!! Urgent

I want to send a request to a site outside of salesforce. I can do

PageReference ref = new PageReference('');
But I also want to send some RequestHeader in the HTTP Request. Can it be possible? If yes, How?
Also I want to show the new page( in a new tab. I know I can create a web tab but the thing to notice here is the url can be dynamic and hence I cannot create a web tab, as while creating web tab it asks for a URL which might change depending upon scenarios.

Any help from gurus???