HTTP Request and Responce
Hi Team,
How to we get a data from http response using HHTP request.Give one Example.
Thanks ,
Ponnumani Gurusamy.
Discussion (7)0
Comments
HttpResponse property contains response. Here's a sample:
Set req = ##class(%Net.HttpRequest).%New()
// build the request
Do req.Post("url")
Set str = req.HttpResponse.Data.Read()
Write strHow to we add SSL configuration for above code.
Thanks Eduard.
Hi,
Suppose we are passing only services but not directory and host name.If possible it is return any token.Please give the solution.
Please provide code sample and error text.
I am using HTTPS Protocal.So request is working fine and response is return empty.But this same URL run with Post man.It is return correct xml data.So how to I solve the code.
how did you solve this ? i have the same error