Question Rochdi Badis · Feb 26, 2018 Copy Files Hi Guys, I'm looking to Remove file from a location to another similar to CUT & Past function, I'm using this : s file=##class(%File).%New() d file.CopyFile(File,ArchivePath) d file.Delete(File) and the copying is happening but not the Deleting, and help pls? Thanks #Caché 0 16 0 2.4K
Question Rochdi Badis · Jan 15, 2018 Failed to parse JSON request content Hi Guys, I'm using the below code to Post JSON request to a REST API, but I'm getting "Failed to parse JSON request content." Error, #Caché #JSON #SOAP 0 7 0 6.1K
Question Rochdi Badis · Jan 15, 2018 Headers in HttpRequest Hi Guys, I'm using Ensemble 2014 and have a code that Posts HttpRequest to a REST API and working fine, but don't know how to add Header to my request!? I tried Set Request.SetHeader("Source","Civicview") but it's bringing a Syntax error, any help pls? #Caché #SOAP 1 3 0 1.3K
Question Rochdi Badis · Jan 15, 2018 Arrays in JSON Body Hi Guys, I've a working that sent Http request to a REST API and is working fine, #Caché #JSON #Frontend 0 2 0 774
Question Rochdi Badis · Jan 1, 2018 Send JSON Via HTTP request Hi Guys,Basically I'm looking for a sample what I can send data in aJSON format to a a webservice using an http request pls?I've found some documentation on %Net.HttpRequest but a sample on how to connect to a Webservice and send data to it would be really helpful?Our clients are running Cache & Ensemble 2014 Thanks #Caché 0 21 0 6K