diff --git a/mwes/mwe_07.jl b/mwes/mwe_07.jl new file mode 100644 index 0000000..ec0fca8 --- /dev/null +++ b/mwes/mwe_07.jl @@ -0,0 +1,10 @@ +# http example +using HTTP +using JSON3 + +url = "http://localhost:8080" + +function get_data(url) + response = HTTP.get(url) + return JSON3.read(response.body) +end