i am trying to call a php Api through API using asp.net c#, could anyone please help me i want to call the following API username: admin password: ****
http://Ip Hidden/WHMCS_1/includes/api.php
i am trying to call a php Api through API using asp.net c#, could anyone please help me i want to call the following API username: admin password: ****
http://Ip Hidden/WHMCS_1/includes/api.php
This is a pretty broad question so this answer is broad too.
You can use the WebClient class for this:
Provides common methods for sending data to and receiving data from a resource identified by a URI
WebClient Class - MSDN docs with example usage
In later versions of .net you can use:
HttpClient class - MSDN docs with example usage