Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 1.01 KB

CommonRequestHeaders.md

File metadata and controls

11 lines (9 loc) · 1.01 KB

Common Request Headers

The following describe common HTTP request headers as used in the HDF REST API:

  • Request line: The first line of the request, the format is of the form HTTP verb (GET, PUT, DELETE, or POST) followed by the path to the resource (e.g. /group/<uuid>. Some operations take one or more query parameters (see relevant documentation)
  • Accept: Specifies the media type that is acceptable for the response. Valid values are "application/json", and "/. In addition, GET/PUT/POST Value (see DatasetOps/GET_Value, DatasetOps/PUT_Value, DatasetOps/POST_Value) support the value "application/octet-stream"
  • Authorization: A string that provides the requester's credentials for the request. See Authorization
  • Host: the domain (i.e. related collection of groups, datasets, and attributes) that the request should apply to

Note: the host header can also be provided as a query parameter. Example: https://data.hdfgroup.org:7258/?host=tall.test.data.hdfgroup.org