Home > Back-end >  How to call the weather and baidu engine interface, novices don't know how to search query
How to call the weather and baidu engine interface, novices don't know how to search query

Time:04-11

There are big recommend reading the article? Specific as follows as shown in figure this

CodePudding user response:

Mainly is the baidu

CodePudding user response:

By the weather query the back-end call baidu, parse the results back to the front,

http://weathernew.pae.baidu.com/weathernew/pc? Query=% E6 B3 B7 E5%89% % % % 9 e B0 E6 A9 A4 E5 % % % % % % 94 & amp; Srcid=4982 & amp; Province_name E5 8 f=A6 E7 % % % % % % BB BA

CodePudding user response:

refer to the second floor day return reply:
by the weather query the back-end call baidu, parse the results back to the front,

http://weathernew.pae.baidu.com/weathernew/pc? Query=% E6 B3 B7 E5%89% % % % 9 e B0 E6 A9 A4 E5 % % % % % % 94 & amp; Srcid=4982 & amp; Province_name E5 8 f=A6 E7 % % % % % % BB BA



Have a specific article tutorial? Updated in real time the weather every day, a novice to the deep see don't understand

CodePudding user response:

reference qq_22547153 reply: 3/f
Quote: refer to the second floor day return reply:
by the weather query the back-end call baidu, parse the results back to the front,

http://weathernew.pae.baidu.com/weathernew/pc? Query=% E6 B3 B7 E5%89% % % % 9 e B0 E6 A9 A4 E5 % % % % % % 94 & amp; Srcid=4982 & amp; Province_name E5 8 f=A6 E7 % % % % % % BB BA



Have a specific article tutorial? Updated in real time the weather every day, novice that doesn't look too deep understand

The HTTP client requests a url (such as XmlHttpRequest, HttpClient), and then parse the data can,

CodePudding user response:

Look at the baidu the weather with a caught tools request link, and then to your front end or back end, back end will use httpClient client tools
  • Related