[英]SAP S/4HANA Cloud SDK Request language
We are using the SDK to call an API which has localized attributes. 我们正在使用SDK来调用具有本地化属性的API。 Testing this API via POSTMAN if we set the accept-language header we get the localized fields.
如果我们设置accept-language标头,则通过POSTMAN测试此API,我们将获得本地化的字段。 Is there a similar way to obtain the localized fields using the ODataQueryBuilder?
是否有使用ODataQueryBuilder获取本地化字段的类似方法?
You can use the withHeader
method of the ODataQueryBuilder
. 您可以使用
withHeader
的方法ODataQueryBuilder
。
For SAP S/4HANA, you can provide a sap-language
header. 对于SAP S / 4HANA,可以提供
sap-language
标头。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.