godot-start/script/demo16_http/http_utils.gd

9 lines
185 B
GDScript
Raw Normal View History

2021-10-09 11:20:59 +00:00
extends Node2D
const HttpUtils = preload("res://zfoo/util/HttpUtils.gd")
func _ready():
var util = HttpUtils.new()
var response = util.get("https://www.zhihu.com")
print(response)