0
有没有人知道如何在飞镖中做出“PUT”请求?飞镖中的PUT请求
我这样做,但我不知道如何继续:
HttpRequest request =new HttpRequest();
request.open("PUT", url);
...
感谢。
有没有人知道如何在飞镖中做出“PUT”请求?飞镖中的PUT请求
我这样做,但我不知道如何继续:
HttpRequest request =new HttpRequest();
request.open("PUT", url);
...
感谢。
var resp = await HttpRequest.request('http://someurl.com',
method: 'PUT', sendData: data);
// Do something with the response.
或
HttpRequest.request('http://someurl.com',
method: 'PUT', sendData: data)
.then((HttpRequest resp) {
// Do something with the response.
});
如何传递一个或多个文件? – MalumaDev
听起来像一个不同的问题。可能http://stackoverflow.com/questions/25742113或http://stackoverflow.com/questions/25025084 –