I have written a REST API using C# that runs on my server. When it is started, I want to preload some data from the database based on the organization that has purchased it (name, address, etc). However, I can't seem to figure out the name of the initial program that is called which is normally something like application.cs or program.cs. Can someone provide the name of the initial program or tell me where I can find it?

Member Avatar
Member Avatar
+0 forum 1

Hello, I am looking for an API that will feed me soccer stats from leagues like the EPL, Bundesliga, Serie A, and La Liga such as personal player information (name, height, weight, dob, etc.), player statistics (goals, assists, minutes played), as well as results from games. If anyone knows of a service (maybe even sites like premierleague.com have API's that aren't being advertised) I would be interested.

Member Avatar
Member Avatar
+0 forum 4

I want to learn how HTTP PUT method is used with PHP? I googled at the web and found some tutorials about it with cURL. But i dont know how to use it (Like REST API). Can anyone help me? Thank in advance

Member Avatar
Member Avatar
+0 forum 1

Hi there, I have a login form.which contains two input parameters. login_id and password. login_id may be mobile or email. user may use mobile no or email as login id. my table structure is uid email mobile password status when i login through mobile no it is validating and showing error messages. but if i login through email it is not checking email column. directly shows outputs to the client. below is my script: sorry for my terrible english Check Login: if($db->check_loginid($login_id)) { if($db->checkLogin($login_id, $password)) { $status = 1; if($db->checkLoginStatus($login_id, $password, $status)) { $updateapi = $db->updateApikey($login_id); $user = $db->getUsersalldetails($login_id); if($user …

Member Avatar
Member Avatar
+0 forum 1

Frank Gifford, America's most beloved sports entertainer has passed away in an untimely manner. A great loss for the country and the world.

Member Avatar
+0 forum 0

Hello, I am trying to create a simple application for personal use for Twitter marketing. This is my first time trying to interact with REST APIs through VB and I have been going around and round getting various different errors. Here is my current code and I get a '401 Unauthorised' error; '--------------------------- TwitterApp --------------------------- System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at TwitterApp.Form1.Form1_Load(Object sender, EventArgs e) in C:\Users\User\AppData\Local\Temporary Projects\TwitterApp\Form1.vb:line 50 --------------------------- OK --------------------------- ' Here's my code, no idea how right it is... `Imports System.Net Imports System.IO Imports System.Text Public Class Form1 Private Sub Form1_Load(sender …

Member Avatar
+0 forum 0

I have an accommodation reservation system that allows managing agents to list all the properties under their control. There are various 'locations' that have a priority such as:- 'Beach Front' has priority of 1 and 'Off beach' a priority of 2 etc. Setting these are pretty much a straight forward issue as they dont change. The issue I am facing is that within each location there are properties and they too have priorities. When someone searches for a holiday home the results are sorted by location.priority and then property.priority. This is done so the admin can push higher priced establishments …

Member Avatar
Member Avatar
+0 forum 5

Dear pals, I am newbie in RESTful services . I need to call a GET Verb in Server . I know 2 methods 1. Ajax Call we can write it as $.ajax({ url: url, dataType: "html", type: 'GET', data: "id="+id+"&type="+type, success: function(data){ //$("#content").html(data); alert(data); $('table #sample-boxed-2-pagination th a').each(function(){ //this.href = this.href.replace(sub_url, main_url); var value = this.href.split('?'); //alert(value[0]); if(value[0]!=sub_url) { this.href = this.href.replace(value[0], sub_url); } }); } }); }); But I know it's not working in Cross domain scenario . Please advise a method to work same in all domains . 2. Using file_get_contents() function like $response = file_get_contents('https://kkl.com/graph/call?parm1=9'); I know …

Member Avatar
Member Avatar
+0 forum 3

I want to create a REST api using php for my website so that, my app can access the data stored in the database. I need for the user to be able to log in to the server through the app and i am unsure of how to implement this securly? I have considerd oAuth but its not really what im looking for as it is for third party software

Member Avatar
Member Avatar
+0 forum 1

Dear Friends, I am using Simple-REST Library for my REST Web service purpose . I need to integrate "OAuth2" with my REST API skeleton. I attached the REST - API Client & Server for your reference . Please check it and help me with a good solution for implementation. Thanks, Anes

Member Avatar
Member Avatar
+0 forum 5

Hi i am new to the web service technology. how do i deploy a web service in AWS in a micro account. i need to deploy a application to access a book store online. appreciate if someone could point me to some tutorials. Appreciate a reply. thanks

Member Avatar
Member Avatar
+0 forum 8

l need to create a realtion between EmailAddresses and Contacts through REST API. Anyone know the set_relationship syntax for those.

Member Avatar
Member Avatar
+0 forum 2

I'm obviously typing in the wrong search terms, but I'm looking for a REST application in C# in Web API running on Azure, but with an example of calling that REST C# from a VS2010 C++ application. I have one half (the C# bit) but I can't find any examples of querying the C# via REST from Windows C++. Any pointers anyone?

Member Avatar
Member Avatar
+0 forum 1

Hello, I am currently writing my thesis about IT technologies etc. etc. and I have one chapter where i compare REST and SOAP, but I can not find how and when (i mean some king of events in the past) REST started (mainly in Web) to replace SOAP as technology of web services. I would like to show you a graph in Google Insights for Search Tool : [Google Insights for Search](http://www.google.com/insights/search/?hl=pl#q=rest%20api,soap%20api&cmpt=q) As you can see in 2008 there was some king of intersection number of keywords searche for rest api and soap api. So, i would like to rely …

Member Avatar
Member Avatar
+0 forum 2

I have a web application that needs the identification or some uniqueness of the machine that is calling it. Based on that "id" of the machine the web application will provide information back relevant to that machine. I can certainly call my website with some unique Query params that will let it know what machines the call is coming from, but that is not practical for this application, since the folks installing it will not have the ability to specify unique parameters for every machine. Ideally, if there was some INI or configuration file on the CLIENT machine that could …

Member Avatar
Member Avatar
+0 forum 3

As far as I can tell REST is a methodology or an archecture. Is it a real tangable thing? I mean, can you look at a back-end code and determine if it is REST or not REST? How do you communicate with a WCF RESTful service? Are all WCF services RESTful?

Member Avatar
+0 forum 0

Hi all, I have been asked to create an API for a website, which I would like to do, but havent done before. Does anyone have a good tutorial on using procedural style php, integrated with REST to make an API work? I have read that REST is really good and "easy" to learn. So hopefully someone can point me in a direction on how I can solve/learn to integrate an API on this site :-) Good day everyone, Klemme

Member Avatar
Member Avatar
+0 forum 7

I have created a simple web service based off one of the project templates in the Microsoft WCF Starter Kit 2 for .NET 3.5. I have successfully implemented a GET method. However I am having trouble get a POST method to work. [CODE] [WebHelp(Comment = "Sample description for DoWork")] [WebInvoke(UriTemplate = "DoWork", Method = "POST", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)] [OperationContract] public SampleResponseBody DoWork(SampleRequestBody request) { //TODO: Change the sample implementation here return new SampleResponseBody() { Value = String.Format("Sample DoWork response: '{0}'", request.Data) }; } [/CODE] Below is the definition of the SampleResponseBody and SampleRequestBody classes: [CODE] public class …

Member Avatar
+0 forum 0

what I'm trying is to write program that accepts list of user as its argument 1- If a user or more are given as arguments, the script should reset files permissions as follows: a. Directory ~/share to 750 (if it exists). b. All regular files inside ~/share to 744. c. All directories inside ~/share to 750. d. All other regular files in ~ to 600 and all other directories in ~ to 700. e. files of other types are left as they are. We assume that there is only one level of files and directories inside ~ (except for ~/share), …

Member Avatar
+0 forum 0

The End.