curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.
As SM web client is acceptting a http[s] request from browser, so we can use curl to imitate a request send from browser, below is an example:
curl –iku falcon:123456 https://localhost:8080/webtier-9.52.index.do?
In above parameter i indicates include the heads of request, k indicates allow connection without ssl certificate if the server is SSL(this depends on the server as well), and u specified username and password are followed, in the example, falcon and 123456
You will be returned with a html, it contains a return code which is http code, the following linked can be used to check what the code means: