首页>
外国专利>
DATA PROCESSING METHOD AND APPARATUS FOR IMPLEMENTING CROSS-DOMAIN REQUEST AT WEBPAGE END, AND RELATED DEVICE
DATA PROCESSING METHOD AND APPARATUS FOR IMPLEMENTING CROSS-DOMAIN REQUEST AT WEBPAGE END, AND RELATED DEVICE
展开▼
机译:用于在网页端实现跨域请求的数据处理方法和装置,以及相关设备
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present application is applied to the technical field of computers, and disclosed are a data processing method and apparatus for implementing a cross-domain request at a webpage end, a computer device, and a storage medium, for use in improving the expansibility and security of implementing the cross-domain request at the webpage end. The method provided by the present application comprises: receiving, by means of a pre-deployed proxy service, a service request message initiated by a client by means of a webpage, the proxy service being deployed on a server having a same domain name as the webpage, and the proxy service on the server receiving the service request message by means of a pre-created dedicated channel; analyzing an address variable carried by the header of the service request message; obtaining a value of the address variable to obtain a target request address; forwarding, by means of the proxy service, the service request message to a server of a domain name indicated by the target request address; and when a response message returned by the server indicated by the target request address is received, sending, by means of the proxy service, the response message to the client by means of the dedicated channel.
展开▼