This commit is contained in:
朱子楚\zhuzi 2023-10-14 01:34:00 +08:00
parent f0f2814d5e
commit 0ecab11e3c
2 changed files with 15 additions and 0 deletions

View File

@ -100,6 +100,9 @@ FluContentPage{
params.custtel = "1234567890"
params.custemail = "zhuzichu520@gmail.com"
request.params = params
var headers = {}
headers.test = "123456789456465321354"
request.headers = headers
http.post(request,callable)
}
}

View File

@ -101,6 +101,9 @@ FluContentPage{
params.custtel = "1234567890"
params.custemail = "zhuzichu520@gmail.com"
request.params = params
var headers = {}
headers.test = "123456789456465321354"
request.headers = headers
http.post(request,callable)
}
}
@ -128,6 +131,15 @@ FluContentPage{
http.postString(request,callable)
}
}
FluButton{
implicitWidth: parent.width
implicitHeight: 36
text: "Delete请求"
onClicked: {
var request = http.newRequest("https://httpbingo.org/delete")
http.deleteResource(request,callable)
}
}
FluProgressButton{
id:btn_download
implicitWidth: parent.width