add delete method for http

This commit is contained in:
maben
2023-10-08 11:38:57 +08:00
parent e631465231
commit 5a49ffb7e0
3 changed files with 66 additions and 0 deletions

View File

@ -127,6 +127,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