What code should th...
 
Notifications
Clear all

What code should the developer use to authenticate?

1 Posts
1 Users
0 Likes
173 Views
(@goyrocky)
Noble Member
Joined: 2 years ago
Posts: 726
Topic starter  

A developer has generated Apex code from a WSDL for an external web service. The web service requires Basic authentication.

What code should the developer use to authenticate?

  • A . Http.setHeader ('Authorization' , 'Basic QthZGprjpchVulHNchFtZQ!)
  • B . stub.inputHttpHeaders_x.put('Authorization' , 'Basic QthZGprJpchVulHNchFtZQ')
  • C . Http.setAuthentication('Basic QthZGprjpchVulHNchFtZQ')
  • D . stub.authentication.put ('Authorization','Basic QthZGprjpchVulHNchFtZQ')

Show Answer Hide Answer

Suggested Answer: B

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: