M
mroberts@rev.com.au
Guest
Hi, I'm making a call to a REST API of a system monitoring server. I'm querying event data over the last month to determine server uptime. There are event types of 0,1,2,3 ... and to show all, the query should have server/.../event When using URI, I try oURI = Openedge.Net.URI
arse(ipcURL). oURI
ath = ipcPath. oURI:AddQuery("eventtype","0"). oURI:AddQuery("eventtype","1"). oURI:AddQuery("eventtype","2"). oURI:AddQuery("eventtype","3"). The resulting URL only has the ?eventtype=3 , as the AddQuery does not seem to handle duplicates, and the last one added trumps the rest. Is there a recommended method to use the URI object to add duplicate query names, to allow multiples to appear. Thanks Mark
Continue reading...


Continue reading...