I'm trying to access the API of Codeship in js but it gives the code in cURL
This is it in curl:
curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" --user '<your email>:<your password>' https://api.codeship.com/v2/auth
I'm not sure how to pass in the arguments or user
This is the api docs if you needed it https://apidocs.codeship.com/v2
Thanks for any help on this.