Based on this old thread, it expects the REST API json having basic authentication to be in this format:
{
"name": "RESTLinkedService",
"properties": {
"type": "RestService",
"typeProperties": {
"authenticationType": "Basic",
"url" : "<REST endpoint>",
"userName": "<user name>",
"password": {
"type": "SecureString",
"value": "<password>"
}
},
"connectVia": {
"referenceName": "<name of Integration Runtime>",
"type": "IntegrationRuntimeReference"
}
}
}
The JSON for typeProperties
should include only the fields authenticationType
, url
, userName
, and password
. Please ensure you've included these essential values to see if it resolves your issue. For sending POST, PUT, DELETE, or PATCH requests, consider using web activity where you can also specify a request body.