start: goto end http_0: remember http = HTTP("https://clevy.io") say http get_0: remember http = HTTP("https://clevy.io") say http.get() say http get_1: use HTTP("https://jsonplaceholder.typicode.com/posts/1") as http say http.get().send() set_0: remember http = HTTP("https://clevy.io") say http.set({"hello":"world"}) say http query_0: remember http = HTTP("https://clevy.io") say http.query({"hello":"world"}) say http delete_0: remember http = HTTP("https://clevy.io") say http.delete({"hello":"world"}) say http delete_1: use HTTP("https://jsonplaceholder.typicode.com/posts/1") as http say http.delete({"hello":"world"}).send() put_0: remember http = HTTP("https://clevy.io") say http.put({"hello":"world"}) say http put_1: use HTTP("https://jsonplaceholder.typicode.com/posts/1") as http say http.put({ "id":"1", "title":"foo", "body":"bar", "userId":"1", }).send() patch_0: remember http = HTTP("https://clevy.io") say http.patch({"hello":"world"}) say http patch_1: use HTTP("https://jsonplaceholder.typicode.com/posts/1") as http say http.patch({ "title":"foo", }).send() post_0: remember http = HTTP("https://clevy.io") say http.post({"hello":"world"}) say http post_1: use HTTP("https://jsonplaceholder.typicode.com/posts") as http say http.post({ "title":"foo", "body":"bar", "userId":"1", }).send()