Written by

Roche Diagnostics
Question Mathew Lambert · Jun 6, 2018

Send PATCH http call

I need to send a PATCH call from the server to a given url.

Until now I was using %Net.HttpRequest to issue calls for get/post/put but today I had to make a PATCH and I can't find a way to do it.

Comments

Eduard Lebedyuk · Jun 6, 2018

Use Send method:

Set httprequest = ##class(%Net.HttpRequest).%New()
Set httprequest.Server = "www.intersystems.com"
Set sc = httprequest.Send("PATCH", location, test, reset)
0