Many thanks for your time and concern. Yes, I am fully aware of the security issues but again thanks. I am struggling at the minute with the syntax as I am using https://github.com/ixudra/curl for curl commands. I am using Laravel from where I am calling different commands which work for the GET command but not for the PUT/POST command e.g; $response=Curl::to('http://xxx.xxx.x.xx/api/v1/system/memory')->withHeader('Accept: application/json')->returnResponseObject() ->get(