更新时间:2022-02-25 05:47:28
您还没有提出请求.在此处添加标头提出请求.
You haven't made a request yet. The Headers get added here when you make a request.
另一种添加标头的方法是使用请求过滤器,例如:
An alternative way to add headers is to use the Request filters, e.g:
client.RequestFilter = httpReq => {
httpReq.Headers.Add ("X-Parse-Application-Id", "XXXXXX");
httpReq.Headers.Add ("X-Parse-REST-API-Key", "XXXXXX");
};
有效地做同样的事情.