Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 02:21:08 +0000



[Programming Help] - Get POST response after MakeHTTPPOSTRequest

View Count: 205

[2023-12-20 14:37:51]
ray42 - Posts: 21
Hi,

How can I get the server response code and POST's result from server after making a post request via `sc.MakeHTTPPOSTRequest`?

For example, if the server returns 504 or if it's 200, there is a response string associated with it. How can I fetch that?
[2023-12-21 09:47:27]
ray42 - Posts: 21
Can someone please help with this? I have not seen any example for this and the MakeHTTPPOSTRequest example in the docs only show how to send the request but not how to read the response from server.

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

Login

Login Page - Create Account