3
Answers

Unauthorized Error While Accesing Filpkart Marketplace API

vishal singh

vishal singh

6y
1.2k
1
I am Getting error while accesing flipkart marketplace api Can someone please guide me where i am doing wrong.
 
using (HttpClient httpClient = new HttpClient())
{
HttpContent content = new FormUrlEncodedContent(new[]
{
new KeyValuePair<string, string>("appid:app-secret", "appID:appSecret"),
});
content.Headers.Clear();
content.Headers.Add("Content-Type", "application/octet-stream");
HttpResponseMessage response = httpClient.PostAsync("https://api.flipkart.net/oauth-service/oauth/token?grant_type=client_credentials&scope=Seller_Api", content).Result;
}
 
And how to access flipkart curl in c# 
Answers (3)