Skip to main content
Solved

Read REST Webservice

  • November 3, 2021
  • 1 reply
  • 37 views

Forum|alt.badge.img+4

i’m planning to read (every second) an external webservice.

If I query the URL via http (http://some_ip/webservice/_read) the output is:

How can i read this http output and store the informations ?

Should I use HTTP Connector?

Best answer by Mark Jongeling

Hi,

Yes indeed. You'll need an HTTP connector to GET the information from the external webservice. The content returned by the HTTP connector can be captured in a process variable and thereafter be read and used by utilizing a process procedure. Functions like OPENJSON and json_value can help with that.

This topic has been closed for replies.

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • November 3, 2021

Hi,

Yes indeed. You'll need an HTTP connector to GET the information from the external webservice. The content returned by the HTTP connector can be captured in a process variable and thereafter be read and used by utilizing a process procedure. Functions like OPENJSON and json_value can help with that.