HTTP headers and URI parameters
The URIs for Rule Execution Server REST
resources support some HTTP header fields and generic URI parameters.
The REST execution service supports the Accept-Language field name in HTTP headers. All other fields are ignored.
- The Accept-Language header field
The Accept-Language field sends the list of languages that are valid for the response message. For example,
Accept-Language: fr, pt-BRmeans that the preferred language is French but Brazilian Portuguese is also accepted. You can use the equivalent URI parameter instead of the HTTP header field.- The Accept-Language parameter
The accept-language URI parameter is equivalent to the Accept-Language HTTP header field. You can use it in request messages to send the list of languages that are valid for the response message.