Hi Max, I am a .Net developer I prefer to work with vb. If you have any examples or information in the methods used to achieve this in either vb or c# it would help.
Hi Max, I am a .Net developer I prefer to work with vb. If you have any examples or information in the methods used to achieve this in either vb or c# it would help.
We don't have any VB examples...it's somewhat outside the scope of our support (the examples). We support and make it easy to use the database from an app built in Tiggzi builder.
Hi Max I appreciate that your role is to support apps built in Tiggzi. Are you saying that it is not possible to work with the database from external sources or that HTTPWebRequest properly formatted should work?
You can access the Tiggzi database from any external source by sending a valid REST request. It can be done in any programming language. We simply don't have any examples as it outside the context of support.
I had the same issue, but have just got it solved. See this:
https://getsatisfaction.com/tiggzi/to...
Thank you for sharing this
The link above is broken. Could you fix it. I have a similar issue except I am trying to issue a PUT from a native Android app.
Hi,
I got the same issue, using .net too, but in my case it's asp.net with silverlight.
I can consume the appery.io services using ajax on something like this:
function login(databaseId, userName, password) {
Code: Select all
var sessionToken;
jqXHR = $.ajax({
type: "GET",
beforeSend: function (request) {
request.setRequestHeader("X-Appery-Database-Id", databaseId);
},
url: "[url=https://api.appery.io/rest/1/db/login]https://api.appery.io/rest/1/db/login[/url]",
data: { username: userName, password: password },
async: false
});
jqXHR.done(function (response) {
sessionToken = response.sessionToken;
});
jqXHR.fail(function () {
alert("Usuário ou senha incorretos.");
});
return sessionToken;
}
And then I call the JS function inside .Net with this:
string sessionToken = (string)HtmlPage.Window.Invoke("login", credentials.DatabaseId, credentials.UserName, credentials.Password);
But it would be really nice if someone could get a sample code written in .Net.
Hi Pedro! Sorry, but it's outside the scope of our support.