Groovy web console

subscribe to the feed Subscribe
to this
site

Tailorsoft Groovy Test

Published 2 weeks ago by Tailorsoft
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
import groovy.json.JsonSlurper 

def url_Json = new URL("https://hours.tailorsoft.co/sample.json")

// Print the table header
println "+--------------+---------+------------+";
println "| Product      |  Orders |      Total |";
println "+--------------+---------+------------+";