I am using orocrm 4.0. When i try to make an API call from my sandbox account in http://OROAPPURL/api/doc/rest_json_api#get–api-contacts i am getting the contacts in my account. But when i try the same using PHP curl from CLI i am getting HTTP/1.1 401 Unauthorized. The headers are passed and the headrs are generated on all requests. The headers passed are –
> Authorization:\ WSSE\ profile=”UsernameToken”
> X-WSSE:\ UsernameToken\ Username=”myusername”,\ PasswordDigest=”i0OouCXMyjs1EoIdfP98ferE3ng=”,\ Created=”2019-09-24T17:25:57+05:30″,\ Nonce=”Z00zNjc0WE5yQlppTVJ1WE1PfdejTkJRSEMwPQ==”
Can you please let me know if there is anything wrong in what I am doing?
The forum ‘OroCRM’ is closed to new topics and replies.