HTTP客户端可以用自己喜欢的数据格式和语言,在请求的头部追加目标URI来传送。内容提供者应该提供这些设置服务。
HTTP clients may pass over the preferred data formats and languages along with the target URI in the request header, and the content provider should serve these Settings.
这些表示使用的数据格式在HTTP请求或响应的头部中指定—xml和json是广泛使用的格式。
The data format that the representations use are specified in the header of the HTTP request or response-xml and JSON are widely used formats.
REST API在HTTP请求中使用内容类型头部以便确定存储在网格中的数据的格式。
The REST APIs use the Content-type header in the HTTP request to determine the format of the data stored in the grid.
应用推荐