Hi...

I'm developing an interface between VDF and CRM PIPEDRIVE via REST API ...


I'm using the cHttpTransfer class and the HttpGetRequest methods are working by returning data in JSON format ...


However, I am having difficulty using the HttpPutRequest method because it is not writing the changes returning only the http 301 error.


I think I'm missing the formatting of passing parameters to the method via JSON ...


Set psRemoteHost to "xxxplast.pipedrive.com"
Set psProtocolVersion to "HTTP / 1.1"
Set psAgent to "SGE - SOFTDATA"
Set piRemotePort to rpHttp


Send ClearHeaders
Get AddHeader "Content-Type" "application/json" to bRet
Move ("/v1/deals/27?Api_token=417cabdacd034ca407ed9bf7553ee67d53760 ") to sFilePath


Move ('{"title": "testee1"}') to sData


Get HttpPutRequest sFilePath sData False to bRet
If (not (bRet)) Get ResponseStatusCode to iErr


Can anyone tell me if I'm passing the parameters correctly?


Best Regards,

Fabiano