Skip to content

Commit

Permalink
add mwe_07.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Jul 26, 2024
1 parent 98a21c1 commit 2484317
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mwes/mwe_07.jl
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2484317

Please sign in to comment.