Tag: GET
-
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: 12 1. Now it has been implemented: Copy the resource file of the source to the resource directory published by the channel, and return the relative path (sync). The code is as follows 2. Now it needs to be adjusted and can be realized again: download the file and save it as a specific file name, rather than…
-
Post Views: 19 1. In Postman, the details of the specified resource of the GET request, the response is 200, as shown in Figure 1 2. Check the routing configuration, the code is as follows 3. Check the controller, the code is as follows 4. Details of the specified resource for the POST request in Postman, the response is 404,…
-
Post Views: 14 1. In the previous release interface, only one channel is supported for a release. Therefore, the release of the three channels needs to call the interface (APP, Netease account, Weibo) 3 times respectively, as shown in Figure 1 2. On the current release interface, it is ready to publish at one time and can be published on…