mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Basic online wondertrade system
This commit is contained in:
8
Data/Scripts/050_AddOns/HttpCalls.rb
Normal file
8
Data/Scripts/050_AddOns/HttpCalls.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
def test_http_get
|
||||
url = "http://localhost:8080"
|
||||
response = HTTPLite.get(url)
|
||||
if response[:status] == 200
|
||||
p response[:body]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user