Solved

Read REST Webservice

  • 3 November 2021
  • 1 reply
  • 36 views

Userlevel 1
Badge +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?

icon

Best answer by Mark Jongeling 3 November 2021, 16:06

View original

1 reply

Userlevel 7
Badge +23

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.

Reply