Skip to main content
Version: 10.0

HTTP

Defines the options for all external HTTP requests made by the server during the execution of the web service operation.

This is necessary, for example, if the server has to load external resources, such as images when converting mail or HTML.

With these settings, for example, the fields of the HTTP request can be added to or overwritten using headers, the allowed external ssl settings in the form of ciphers and protcols or set timeout values.

{
"settings": {
"http": {
"followRedirect": true,
"headers": {
"header": [
{
"name": "X-Custom",
"value": "MyValue"
}
]
},
"ssl": {
"ciphers": {
"cipher": [
"TLS_AES_128_GCM_SHA256",
"TLS_AES_256_GCM_SHA384"
]
},
"protocols": {
"protocol": [
"TLSv1.2",
"TLSv1.3"
]
}
},
"timeout": {
"connect": 10000,
"response": 60000
},
"userAgent": "MyEgine/1.2 (no comment)"
}
},
"converter": {
}
}