[progress Communities] [progress Openedge Abl] Forum Post: Openedge.net.uri Addquery And...

  • Thread starter Thread starter mroberts@rev.com.au
  • Start date Start date
Status
Not open for further replies.
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:Parse(ipcURL). oURI:Path = 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...
 
Status
Not open for further replies.
Back
Top