Salesforce HTTP Callout Headers -


in salesforce http callout use

httprequest newrequest = new httprequest(); 

and set headers like

newrequest.setheader('authorization','xxx'); newrequest.setheader('content-type','xxx'); newrequest.setheader('customheader','customparameter'); 

apart authorisation , content-type other parameters can set , purpose. great if can point me link description.

the "salesforce" httprequest system.httprequest according docs notes looks want list of httprequest headers

http protocol (should) pretty standard.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -