and decode

This commit is contained in:
Daniel Barlow 2025-05-27 13:34:09 +01:00
parent 26ebbe21b5
commit 184ba482f9

View File

@ -20,7 +20,7 @@
"-96.339893442898" "-96.339893442898"
");" ");"
");" ");"
"out geom;" "out ;"
] ]
(table.concat "\n"))) (table.concat "\n")))
@ -31,5 +31,5 @@
(r:set_body (dict_to_query { :data query })) (r:set_body (dict_to_query { :data query }))
(let [(headers stream) (r:go)] (let [(headers stream) (r:go)]
(print (view headers)) (print (view headers))
(print (stream:get_body_as_string)))) (print (view (json.decode (stream:get_body_as_string))))))