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...
-- Alex