- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: SmartTask - Curl HTTP Post using Bash script
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try curl_cli instead ( /opt/CPsuite-R81.10/fw1/bin/curl_cli ) - see curl_cli --help !
