如何在Mule4中的HTTP请求连接器中通过授权

问题描述

我需要使用授权向服务发出Post请求,我正在使用Mule4的HTTP请求组件。但是,我看不到HTTP请求中用于传递凭据,ID,密码的占位符。有指针吗?

解决方法

您可以使用以下文档来配置所需的文件:

https://docs.mulesoft.com/http-connector/1.5/http-request-ref#headers

https://docs.mulesoft.com/http-connector/1.5/http-authentication

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...