Authorization: Bearer ********************{
"local_ip": "127.0.0.1",
"local_port": 8080,
"custom_domain": "demo.example.com",
"auto_tls": true,
"remark": "my tunnel"
}curl --location --request PUT 'https://api.lolia.link/api/v1/user/tunnel/4861097abed145b78cd7caadb9433239' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"local_ip": "127.0.0.1",
"local_port": 8080,
"custom_domain": "demo.example.com",
"auto_tls": true,
"remark": "my tunnel"
}'{
"code": 200,
"msg": "Auto TLS 已开启",
"data": {
"auto_tls": true,
"custom_domain": "114514.com",
"id": 20,
"name": "4861097abed145b78cd7caadb9433239",
"node_id": 1,
"status": "inactive",
"type": "http"
}
}