Hello.
I build a winform app. i want to search product on ebay.com by keyword. i tried but i couldn't.
how can i do it ?..
Give me advices, please!
Thanks.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pradeep ShetRank #595 · 4K reputationPosted Jan 27, 2015, 12:10 AM EST
Do you know which API methods does ebay exposes. Once you know that it will be simple to access those API using
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Accept.Add(
new MediaTypeWithQualityHeaderValue("application/json"));
HttpResponseMessage response = client.GetAsync("http://localhost:56851/api/User").Result;
if (response.IsSuccessStatusCode)
{
var result = response.Content.ReadAsAsync
}
Mark it as answered if it helped you.