So I need a very basic interaction example of C# client using some PHP API (A remote service being called from a C# app). I want to see a simple php API containing 2 methods sum(a, b):c and echo(string):string and a simple C# client able to use that methods. How to do such thing?
Share
I don’t know what you mean by a PHP server but can’t you write a script that will add two numbers:
And in C#:
Another and a better option is PHP SOAP.