Tag: 200
-
Post Views: 16 1. After entering the front-end page, click some links, the URL will change, and the response is 200 at this time. But once the entire page is refreshed, it will respond to 404. such as video 1 2. View the error log of nginx and add a line: try_files $uri $uri//index.html; 3. Refresh the entire page again,…
-
Post Views: 16 1. For the same GraphQL API request, it sometimes responds to 500 in the browser, and there is no response data, and sometimes the response is 200, and there is a response data. as shown in Figure 1 2. When the response is 500, there is no response data. Decide to set the error level to output…
-
Post Views: 13 1. The same URL, respond to 302 in the browser. as shown in Figure 1 2. The same URL, respond 302 in the browser, and 200 in Postman. as shown in Figure 2 3. Decided to check the request log record of nginx, there are 2 request records, so it can be determined that when the request…
-
Post Views: 16 1,https://object-master.local/robots.txt, response 404. as shown in Figure 1 2, but,https://object.local/robots.txt, the response 200. as shown in Figure 2 3. The only difference between these 2 URLs is -master . Run: tasklist /fi “imagename eq nginx.exe” . View the nginx process running in the background. There are 4. In theory, there should only be 2 of them. and…
-
Post Views: 15 1. The third-party platform application interface http request of Penguin, the upload of video files shards failed, status code: 302. Print the response object. Time: 2021/10/12 2. Analyze the conclusion, check the information in the response header, http/1.1 302 moved temporarily. followhttp://api.om.qq.com302 Jump tohttps://api.om.qq.com. The HTTP 302 Found redirect status code indicates that the requested resource has…
-
Post Views: 15 1. HTTP requests a static TXT file, the first response is 304, and the second time is 200. as shown in Figure 1 2. Reference URL:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status/304. HTTP 304 does not change the content of the request that does not need to be transferred again, that is, the content of the cache can be used. This is usually…
-
Post Views: 14 1. In the domain name:http://editorweb.wjdev.chinamcloud.cnInterface in request:http://api.pcs.wjdev.chinamcloud.cn/v1/plan-tasks/274?login_id=2e368664c41b8bf511bcc9c65d86dbc3&login_tid=b26398238620e8cd15b0155cd7aee9b2, in response to 404 , the “Access-Control-Allow-Origin” header does not exist on the requested resource. as shown in Figure 1 Decide to implement a front-end AJAX request example in the local environment by yourself 3, POST request, response 200, but no response data. as shown in Figure 2 4. Refer…
-
Post Views: 95 1. In the Google Chrome browser, after today’s Toutiao is opened, it is blank, as shown in Figure 1 2. Check the console, report an error: access to xmlHttpRequest athttps://verify.snssdk.com/reportErrorfrom originhttps://www.toutiao.comHas been blocked by cors policy: request header field ra-ver is not allowed by access-control-allow-headers in preflight Response. As shown in Figure 2 3. Clear browsing data,…