Category: Program Debugging Tools
-
Post Views: 17 1. Request in Altairhttps://object.local/graphql, Response: “Http Failure Response forhttps://object.local/graphql:0 unknown error”. As shown in Figure 1 2. It needs to be opened in the browser:https://object.local, and then find that the Chrome browser is safely intercepted, after selecting trust, request againhttps://object.local/graphql, the response 200. as shown in Figure 2
-
Post Views: 16 1. Get started with the GraphQL server with Lighthouse. Reference URL:https://lighthouse-php.cn/tutorial/ 2. Create a GraphQL API for a simple blog from scratch. Create a new Laravel project via Composer: lighthouse-tutorial 3. Create a database: lighthouse_tutorial, and configure the database connection in .env. Run the database migration to create the Users table 4. Put some fake user data…
-
Post Views: 18 1. The current domain name is: ccpapi.xxx.cn. It can be called normally on the external network. as shown in Figure 1 2. The current Rancher configuration, load balancing. as shown in Figure 2 3. In Konga, Services – Add New Service. name: API_CCP . url:http://api.ccp:82. Fill in these 2 fields only. submit. as shown in Figure 3…
-
Post Views: 15 1. Export a postman_collection.json from another postman, which now needs to be imported into another postman. Click Import . as shown in Figure 1 2. Upload the file and click Upload Files, as shown in Figure 2 3. After uploading the file, click Import . as shown in Figure 3 4. The import is successful, as shown…
-
Post Views: 37 1. Implement the corresponding RPC service of the page in the RPC directory, create a remote procedure call HTTP server, and create a new \RPC\Controllers\ServerController.php 2. Create a new page model \rpc\models\page.php 3. Create a new page controller, \rpc\controllers\pagecontroller.php 4. Then open the URL on the browser side:http://rpc.github-shuijingwan-yii2-app-advanced.localhost/page/create, see the following output: Fa2{u#s11″page_create”}z, as expected 5. Create…
-
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,…