Larry Brister
asked on
COnsume rest client
I need to consume a rest api in C# .net
Method:POST
Endpoint: http://somewhere.com:9000/programs/lists
Username: myUser
Password: 1256898457
Method:POST
Endpoint: http://somewhere.com:9000/programs/lists
Username: myUser
Password: 1256898457
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Web;
Works on a webpage.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect! Thanks
ASKER
That works on a web page? What are the imports?