网站有标签,其中href是本地文件的路径.例如,<a href="D:\test.txt">Link</a>.它不起作用.
怎么做对了?:)它必须只在IE中工作,其他浏览器不是必需的
我需要在 REST API 中支持 OR 语句,但我不知道如何构建正确的查询字符串。也许,像这样的事情?
或者可能存在标准解决方案?
For example, there is resource on URI: /api/items/123
Response body for GET request is {"Id": "123", "Foo": "foo", "Bar": "bar"}
I send PUT request. The body of it is {"Bar": "newBarValue"}
In case of this request body, should properties Id and Foo be removed? Or just Bar property should be modified? Or server should return error code?