[SR-Users] HTTP Post with JSON

eyas barhouk eyas37 at hotmail.com
Wed Oct 17 21:53:21 CEST 2018


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 ??


 thanks in advance .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181017/72d1acff/attachment.html>


More information about the sr-users mailing list