Home > Net >  C # read the url, return the json data format (url need account password)
C # read the url, return the json data format (url need account password)

Time:11-19

I have a web site and bought an account password, the above data, the need to read and then inserted into their database
Problem now is that how to read the site data with account password
Need not account password url I can visit
Is this https://developer.autodata-group.com/docs/vehicle_information_v1/Manufacture_list#manufacturer_search

CodePudding user response:

See somebody else without programmatic access to the API documentation, programming according to the document,

CodePudding user response:

If the other party to provide the API. So will tell you the so-called "account rules", such as a key interface returns the data you want to request.

The so-called "API documentation"

If the other party does not provide interface. Simply just you want to log in to the system, to grab some "content",

You can use two way.

1 ` using a browser control into the landing pages assignment document loaded to the account password and then execute the click event to jump to a fixed page. Then get HTML yourself analysis.

2 ` when caught, simulation cookies and webclient httpclient or httpwebrequest simulation request landing landing. And then on to grasp the specific data of the page

CodePudding user response:

reference 1st floor interacting in a professional developer response:
see somebody else without programmatic access to the API documentation, programming according to the document,

Good thank you

CodePudding user response:

refer to the second floor by_ love reply:
if the other party to provide the API. It will tell you the so-called "account rules", such as a key interface returns the data you want to request.

The so-called "API documentation"

If the other party does not provide interface. Simply just you want to log in to the system, to grab some "content",

You can use two way.

1 ` using a browser control into the landing pages assignment document loaded to the account password and then execute the click event to jump to a fixed page. Then get HTML yourself analysis.

2 ` when caught, simulation cookies and webclient httpclient or httpwebrequest simulation request landing landing. Then go to catch a specific page data


Thank you

CodePudding user response:

https://developer.autodata-group.com/docs

CodePudding user response:

Httpwebrequest + cookiecontainer
  •  Tags:  
  • C#
  • Related