Jump to content

How do I set up a Simple REST GET request and store the response in an array?


Recommended Posts

So I have a simple REST-server running with an endpoint at https://10.0.0.245:7001/prices

The endpoint returns an array of integers that I want to store on the PLC.

I tried the setup in the attached images, but all  I get is a "Invalid path to value" error. (Only attempting to grab and store the first array-item to begin with).

Does anyone know how to solve this?

 

1778071778_Screenshot(7).thumb.png.1af694b9d026834bcab15516463ac718.png

345038416_Screenshot(5).thumb.png.1b80cd94c145e2540453430957804050.png

 

901844235_Screenshot(6).thumb.png.dc9517a1400263818b4c396bb9141d2c.png

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...