Hi All , I am looking to make a https api call to one of our application. the application works following way and require multiple json call to the application
1) https json request to login the application , below is an example of a working Curl request for the same.
e.g $CURL -s -k -c $COOKIE_FILE -H "Content-Type: application/x-www-form-urlencoded" -d "op=login&username;=<username>&password;=<password>&app;=api" -o login.json -X POST https://<application_hostname>/perl-bin/auth
2) https json request to perform your query for the data , below is an example of similar curl request.
$CURL -s -k -b $COOKIE_FILE -H "Content-Type: application/json" -d @<json_request> -X POST https://<application_hostname>/perl-bin/reportservice
3) https json request to logout , below is an example of similar curl request.
$CURL -s -k -b $COOKIE_FILE -H "$FORM_HEADER" -d "op=logout&app;=api" -o https://<application_hostname>/perl-bin/auth -X POST
$PROTOCOL$LOGIN_URL
can you please advise , how can this be implemented in FME