
3 respuestas
Hi Frank,If you want to post some data to salesforce and for that you are creating a web service in apex, you need to give the external system an oauth token, that will ensure that the external system is authorized to send the data.Please look into this article for more detailshttps://developer.salesforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.comOr, you can else use session id to authenticate if you aren't handling someone else's password.https://www.salesforce.com/us/developer/docs/api_rest/Content/quickstart_oauth.htm