Working with WeChat Mini Program APIs
Network APIs WeChat Mini Programs inetract with backend servers to fetch or submit data using built-in or third-party APIs. The primary method for network communication is wx.request(). Making HTTP Requests The following example demonstrates fetching HTML content from Baidu: // page.js Page({ data:...