Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 13:40:22 +0000



[Programming Help] - Trying to Send HTTP Post Request

View Count: 349

[2023-12-06 18:49:35]
User872421 - Posts: 2
I am trying to send HTTP post request to localhost using Function sc.MakeHTTPPOSTRequest. Its return type is int. Is there any way to check if request has been successfully sent or error is there. Or check if server is live or not. I can't find the way to apply the check.
Thanks
[2023-12-06 19:17:26]
User431178 - Posts: 543
Check the contents of sc.HTTPResponse
[2023-12-07 02:32:44]
User719512 - Posts: 264
Have you tried the pattern in C:\SierraChart\ACS_Source\Studies8.cpp
SCSFExport scsf_HTTPTestWithPOST(SCStudyInterfaceRef sc)

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account