<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Hello guys !!!</span>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
i'm a beginner in kamailio technology and <span style="margin:0px">i want to use kamailio http_client module to get  data from API, but</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="margin:0px">i got :</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="margin:0px"><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="margin:0px">Access error : Unauthorized</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="margin:0px">Access Denied Wrong Password</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="margin:0px"><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<span style="margin:0px"><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
My user IDs are correct. API's encryption is MD5 (digest Auth ). </div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
So i use:</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div style="margin: 0px; font-weight: normal; font-size: 12px; line-height: 18px; font-family: Menlo, Monaco, "Courier New", monospace; color: rgb(212, 212, 212); background-color: rgb(30, 30, 30);">
<span style="margin:0px"><span style="margin: 0px; color: rgb(86, 156, 214);">modparam</span><span style="margin:0px">(</span><span style="margin: 0px; color: rgb(206, 145, 120);">"http_client"</span><span style="margin:0px">,<span> </span></span><span style="margin: 0px; color: rgb(206, 145, 120);">"authmethod"</span><span style="margin:0px">,<span> </span></span><span style="margin: 0px; color: rgb(181, 206, 168);">2</span><span style="margin:0px">)</span></span></div>
</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
...</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div style="margin: 0px; font-weight: normal; font-size: 12px; line-height: 18px; font-family: Menlo, Monaco, "Courier New", monospace; color: rgb(212, 212, 212); background-color: rgb(30, 30, 30);">
<span style="margin:0px"><span style="margin: 0px; color: rgb(86, 156, 214);">modparam</span><span style="margin:0px">(</span><span style="margin: 0px; color: rgb(206, 145, 120);">"http_client"</span><span style="margin:0px">,<span> </span></span><span style="margin: 0px; color: rgb(206, 145, 120);">"cipher_suites"</span><span style="margin:0px">,<span> </span></span><span style="margin: 0px; color: rgb(206, 145, 120);">"</span></span><span style="margin:0px">ecdhe_ecdsa_aes_128_gcm_sha_256</span><span style="margin:0px">,
 rsa_aes_128_gcm_sha_256</span><span style="margin: 0px; color: rgb(206, 145, 120);">"</span><span style="margin:0px">) </span></div>
then </div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div style="margin: 0px; font-weight: normal; font-size: 12px; line-height: 18px; font-family: Menlo, Monaco, "Courier New", monospace; color: rgb(212, 212, 212); background-color: rgb(30, 30, 30);">
<span style="margin:0px"><span style="margin: 0px; color: rgb(86, 156, 214);">modparam</span><span style="margin:0px">(</span><span style="margin: 0px; color: rgb(206, 145, 120);">"http_client"</span><span style="margin:0px">,<span> </span></span><span style="margin: 0px; color: rgb(206, 145, 120);">"cipher_suites"</span><span style="margin:0px">,<span> </span></span><span style="margin: 0px; color: rgb(206, 145, 120);">"rc4-md5"</span><span style="margin:0px">)</span></span></div>
<br>
</div>
<span style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Can someone help me please ?</span><br>
</div>
</body>
</html>