httr:POST with json security login

I'm having trouble translating a basic curl line into httr post request. The curl is:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \
"security": { \
"Email": "email@email.email", \
"Password": "password", \
} \
}' 'https://company.com/API/Security.svc/SSOAuthenticate/'

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.