calling appery.io db rest services from .NET
Is there an example on how to call the appery.io database services from .NET?
We are trying to preload values into appery database collection from our internal SQL server. We are calling a collection we created and allowed appery to generate the db services. Now we would like to call the create service so we can add records. We don't want the mobile app adding records...only modifying them.
We are calling this url
https://api.appery.io/rest/1/db/colle...
with this JSON
{
"headers": {
"X-Appery-Database-Id": "[this value is the correct db id]",
"Content-Type": "application/json"
},
"body": {
"CarFitNumber": "9876",
"Fullname": "Andrew Hubert TEST"
}
}
and the request returns this error
Message from JSON response JBoss Web/7.0.17.Final - Error report<!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}-- HTTP Status 400 - type Status report
message
description The request sent by the client was syntactically incorrect ().
JBoss Web/7.0.17.Final