Hi!
I’m trying to use a basic authentication with CURLSMBS plugin (from 2017),
tried
dim c as new CURLSMBS
dim header() as String
header.Append("Content-Type: application/json; charset=UTF-8")
c.SetOptionHTTPHeader(header)
c.CollectDebugData=true
c.CollectHeaderData=true
c.CollectOutputData=true
c.OptionVerbose = true
c.OptionHTTPAuth = 1
c.OptionUsername = "ncs"
c.OptionPassword = "pwd"
I get
{“DataServiceFault”:{“current_params”:“{}”,“source_data_service”:{“data_service_name”:“PagamentiScolasticiDataService”,“description”:“N/A”,“location”:“/PagamentiScolasticiDataService.dbs”,“default_namespace”:“http://ws.wso2.org/dataservice"},“ds_code”:“INCOMPATIBLE_PARAMETERS_ERROR”,“current_request_name”:"_getgetpagamentimensa”}}
tried also c.OptionUsername = "ncs:pwd"
I get
unknown
what’s wrong?
3 posts - 3 participants