Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
rishrapsody1612
Contributor

SmartTask - Curl HTTP Post using Bash script

Requirement:

I need to trigger HTTPs Post after every* Publish Event occurs. This can be configured using SmartTask.

However, I need a logic which checks user-name attribute before triggering HTTPs Post.
1. If I use SmartTask Web Request to send HTTPs Post, where can I add logic (and in which language/format) to validate user-name and other attributes which are part of published session details.

2. If I use bash script, I can easily write a logic but it seems that CURL is not supported by the system. In such case, how can I send HTTPs Post using bash script

3. Is there an option to first run bash script and pass that required json data(user-name and other session attributes) to Web Request trigger which can then send HTTPs Post?

 

Thanks in advance!!

0 Kudos
1 Reply
G_W_Albrecht
Legend Legend
Legend

Try curl_cli instead ( /opt/CPsuite-R81.10/fw1/bin/curl_cli ) - see curl_cli --help !

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events