Tag: Cookies
-
Post Views: 60 1. Now the local environment URL: http://morefun.dev.dev.xxx.cn/ I want to get the cookie data under the development environment: https://.xxx.cn, but found that it cannot be obtained. The reason is the difference between HTTP and HTTPS. 2. Configure the URL in the local environment: https://morefun.dev.xxx.cn/ . 3. Reference URL: https://web.dev/how-to-use-local-https/ . How to use HTTPS for local development.…
-
Post Views: 15 1. The client-oriented API is browser, and the public parameters: login_id, login_tid, its request type is get, and its value comes from cookies under the pan top-level domain name, as shown in Figure 1 2. According to the requirements of front-end developers, the implementation of cookies supported by the API (not recommended). Unlike web applications, RESTful APIs…
-
Post Views: 42 1. HTTP client extension based on Yii 2, request https, and report an error: “curl error: #60 – SSL Certificate Problem: Unable to get local Issuer certificate”, as shown in Figure 1 2. Configure the client through the application formation, deletedeal=>Yii\HttpClient\CurlTransportThis configuration, as shown in Figure 2 3. HTTP client extension based on Yii 2, request HTTPS,…