On Wed, Oct 17, 2018 at 07:53:21PM +0000, eyas barhouk wrote:
> Hello Dears
>
>
> i'm trying to send POST HTTP request with JSON content on Kamailio V 5.2.0.
> i have two main headers "content type" & "Authentication " in addition i have the json content .
> when i'm using curl request it look like :
>
> Curl -H "Authentication ket = xxxxx" -H "content type : JSON" -d " {the JSON content}"
https://xxxxx.com/send
>
> So how can i use the Http_client module to send such requests ??
The answer smiles out at you in the documentation:
https://kamailio.org/docs/modules/5.1.x/modules/http_client.html#http_client.f.http_query
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users