Joel Bodenmann 4 Posted February 11, 2020 We're currently implementing blocks to deal with REST APIs (as a client). We just got the first working process. It retrieves ToDo list items from an online tool ("cloud"), parses the response body into a JSON object and then retrieves some of the values. Any thoughts? 1 Share this post Link to post Share on other sites
lucblender 0 Posted February 11, 2020 That's really awesome, will open access to any api for simulton! Is it possible to see the configuration of that block? Share this post Link to post Share on other sites
lucblender 0 Posted February 11, 2020 Also, what is the trigger of the rest request? Share this post Link to post Share on other sites
Joel Bodenmann 4 Posted February 11, 2020 Right now the block accepts the following inputs: Host (string) Port (integer) Target (string) --> "Endpoint route" As per the time of posting the screenshot there was no trigger - it simply issued the request on every step. Right now we're adding an enable input (boolean). Share this post Link to post Share on other sites
lucblender 0 Posted February 11, 2020 That's really nice. Would be good to add authentication too, I'm thinking mostly of basic authentication at first and maybe Oauth when motivation comes Share this post Link to post Share on other sites
Joel Bodenmann 4 Posted February 11, 2020 Yeah, we'll definitely add authentication soon. This is how it looks right now: Share this post Link to post Share on other sites
Joel Bodenmann 4 Posted February 17, 2020 We've added support for HTTP basic auth and bearer authorization methods. This should make it into this week's update. 1 Share this post Link to post Share on other sites
printmaster 0 Posted February 17, 2020 I will definitely check that out. btw sick title-bar Share this post Link to post Share on other sites
Joel Bodenmann 4 Posted February 26, 2020 We've released an update that contains the new JSON & REST API blocks. Right now we only have a GET block but the others are added quickly. @lucblender it would be very nice if you could update your application and try out the new REST blocks and leave some feedback. We could improve upon that feedback and add the remaining blocks. Share this post Link to post Share on other sites