REST

httr POST request with auth token in body

I am looking to POST an array to create a new profile in an email service provider via their API via the httr package. The API documenation can be found here.
A copy and paste of the curl command provided via the documentation works, but m…