I am trying to download html from website picnob.com, When I request using POSTMAN it gives full html. But when I do same with my c# code it gives “forbidden” error.

Below is postman code which I am using

var client = new RestClient("https://www.technilesh,picnob.com/");
var request = new RestRequest(Method.GET);
request.AddHeader("postman-token", "6bb5dfa4-6097-e628-8b6c-4dd814ac43");
request.AddHeader("cache-control", "no-cache");
IRestResponse response = client.Execute(request);

When I saw HTML if response it says “Enable JavaScript and cookies to continue”. How can I resolve this issue?

About Nilesh Raut

I am Nilesh,3+ years Exp of SEO, content writing, and keyword research. Also rocks it as a software dev with skills in OS, web dev, Flask, Python, C++, data structures, and algorithms. 3 on Leetcode, 5*on Hackerrank more platform.

Nilesh Raut Changed status to publish July 27, 2023