restart all api on RTF using an shell script

115 views Asked by At

i am trying to restart apis on Mule RTF using a script, but unable to login even, can anyone help?

below is the script :

#! /bin/bash

authToken=`curl -H "Content-Type: application/json" -X POST -d '{"username":"username","password":"password","recaptcha":""}' https://anypoint.mulesoft.com/login/`
curl  "https://anypoint.mulesoft.com/login/=$authToken"
0

There are 0 answers