The Address Manager RESTful v2 API supports a variety of media types depending on the operation.
Specify a response media type by adding an Accept HTTP header to each request message. If
the client sends a request header of
Accept: */* (no media type
specified), the default response media type is application/hal+json.
For POST and PUT operations, specify the media type of the payload with the
Content-Type header.Note: Browsers by default will negotiate a
text/html media type. As such, API responses will be returned
with a Content-Type of text/html, not
application/hal+json.| Operation | Accepts | Produces |
|---|---|---|
| GET single resource |
|
|
| GET collection |
|
|
| POST/PUT | application/hal+json
|
|
| PATCH |
|
|