Hi there! Please sign in
help
tags
users
badges
ALL
UNANSWERED
Ask Your Question
Revision history [
back
]
1
initial version
answered
2021-10-03 22:00:00 +0000
scrum
21
●
2
●
2
Create a new instance of WinHttp.WinHttpRequest.5.1 object.
Set the request method using the .Open method (e.g. .Open "GET", "http://www.example.com", false).
Set any required request headers using the .SetRequestHeader method (e.g. .SetRequestHeader "Content-Type", "application/json").
Set any required request data using the .Send method (e.g. .Send "{'key':'value'}").
Retrieve the response headers using the .GetAllResponseHeaders method.
Retrieve the response body using the .ResponseBody property.
Handle the response as necessary (e.g. parse JSON response, write response to file, etc.).
Copyright QStack.ai, 2010-2023. Content on this site is licensed under the Creative Commons Attribution Share Alike 3.0 license.
Please note: QStack requires javascript to work properly, please enable javascript in your browser,
here is how