Web Connection
WEB Connect POST
I am trying to Send XML data to a web service. The web service responds with 405 - HTTP verb used to access this page is not allowed. The distant end support say they are not seeing a POST. This same code has worked for me in the past. Any Suggestions?
loHttp = CREATEOBJECT("wwhttp")
lohttp.CHTTPVERB = 'POST' && added POST verb 10/04/2020
loHttp.cContentType = "application/xml"
loHttp.AddHeader("X-API-Key","Ac29GnbjP1eMlCA7MK") && Oakwood on line
loHttp.AddPostKey(lcxmldata) && ADD THE XML DATA
lcResult = loHttp.HttpGet("https://court.testcite.com/ecitation")
*lcResult = loHttp.put("https://court.testcite.com/ecitation")