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

android - How to read a column value in parse.com without accessing an object or a pointer -

ios - NSDateFormatter: error in converting date -

timer - Java TimerTask cancel -