Forum Discussion
Anonymous
5 years agoNot applicable
Request curl API
Hello guys,
Can you please advise how to convert the below curl to M language?
Here’s a request example on how to create a session for demo account using curl:
curl -X POST \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'Accept: application/json' \
-d '{"email":"[email protected]","password":"1qaz!QAZ"}' \
'https://api.voluum.com/auth/session'The url: https://developers.voluum.com/#!/authentication
Note sure how to add the email and password with in the query.
Kind regards