- 나는 인증을 기본 인증으로 자신의 자격 증명 (UN/PWD)과 API에 액세스하거나 소화를 원하는 사용자를 인증하는 요구 사항이
- 또한 필요한 자격 증명 (UN/PWD)에 전달 내가 알고 싶은 것은
<filter source="$ctx:AM_KEY_TYPE" regex="PRODUCTION"> <then> <property name="api.ut.backendRequestTime" expression="get-property('SYSTEM_TIME')"/> <property name="password" expression="wso2:vault-lookup('PayAdmin-- ZenoAPI51.0')"/> <property name="unpw" expression="fn:concat('user',':',get-property('password'))"/> <property name="Authorization" expression="fn:concat('Basic ', base64Encode(get-property('unpw')))" scope="transport"/> <send> <endpoint name="PayAdmin--ZenoAPI5_APIproductionEndpoint_0"> <http uri-template="http://localhost:8080/payment/{uri.var.name}"/> </endpoint> </send> </then>
: 요청이
내 시냅스 추출 설정은 다음과 같습니다 백엔드 서비스에 대한 액세스를 인증하는
curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" --header "Authorization: Bearer 2e13c9b3c8717f43d093cfc7c63994bb" -d "{}" http://<IP address of APIM Server>:8280/Zeno1/1.0.0/payment/name
이 컬은 토큰 베어러 걸릴 수 있지만 어떻게 컬
귀하의 요구 사항은 CURL을 사용하여 사용자 이름과 비밀번호를 백엔드로 보내는 것입니다. 맞습니까? – farasath