-1

I'm trying to connect a Azure Webapp to a SQL Database provided through Azure REST API. So I'm trying to implement this request : https://learn.microsoft.com/en-us/rest/api/appservice/webapps/updateconnectionstrings.

But I don't succed to create the body of the request

1 Answers1

0

I believe you set the wrong json body data. The below is my test connection string, the connections is the string name and the connections contains a ConnStringValueTypePair.

{"properties": {
    "connections": {
      "value": "test1",
      "type": "SQLAzure"
    }
  }
}

enter image description here

And also it could update the string to Azure.

enter image description here

George Chen
  • 13,703
  • 2
  • 11
  • 26