TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ankit chourasia
NA
104
6.2k
Unauthorized Error:call flipkart seller api for order Search
Jan 5 2016 9:56 AM
string frmDateTime = txtfromdate.Text;
string Todate = txtTodate.Text;
var frmstr = HttpUtility.ParseQueryString(frmDateTime);
var Tostr = HttpUtility.ParseQueryString(Todate);
var uri = "https://api.flipkart.net/sellers/v2/orders/search/orderDate?fromDate=" + frmstr + "&toDate =" + Tostr;
var client = new WebClient();
client.Headers.Add("X", "Y");
var inforesponse = client.DownloadString(new Uri(uri)); //error--
The remote server returned an error: (401) Unauthorized.
if (inforesponse != null)
{
}
Reply
Answers (
2
)
Email Id Existing or Not
detailsview with validation controls