Category: Program Debugging Tools
-
Post Views: 15 1. Request the backend interface directly in Postman, response 401. in line with expectations. as shown in Figure 1 2. Request the front-end interface directly in Postman to respond to 504 Gateway time-out. Not as expected. as shown in Figure 2 3. The front-end configuration file in Nginx is as follows 4. Check the request log of…
-
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: 21 1. In Altair GraphQL Client, click the button on the left side of the overloaded document in the address bar, the drop-down list will appear, and select Add to Favorites. as shown in Figure 1 2. Select a collection to create a new favorite. as shown in Figure 2 3. Named collection: Shop GraphQL API, choose a…
-
Post Views: 59 1. Prompt in Postman: Connection error we were unable to establish a websocket connection with our servers. Please retry. If the issue Persiss, check your network settings to ensure that websocket connections are allowed. 2. Reference: https://github.com/postmanlabs/postman-app-support/issues/9487 . The old account cannot be connected after login, but the new account can be connected. 3. Decide to log…
-
Post Views: 21 1. Run successfully in Altair GraphQL Client. as shown in Figure 1 2. Edit the test file, /modules/themestore/tests/functional/graphql/MutationThemeAssetGraphQLapTest.php. 3. Run the test case and report an error: Expected Type ThemeAssetCreateInput to be an object. as shown in Figure 2 4. Re-edit the test file 5. Run the test again and the test passes. 6. Run the test…
-
Post Views: 20 1. Add Template to create a template. as shown in Figure 1 2. Click the save button to view the network request. Request URL:https://xxx.myshopify.com/admin/themes/111/assets. Request method: POST. This is the REST implementation. as shown in Figure 2 Requested form data: Response data: 3. The API for creating template files is not implemented in GraphQL. Decided to refer…
-
Post Views: 18 1. Reference:https://shopify.dev/api/admin-graphql#authentication, all GraphQL Admin API queries require a valid Shopify access token. 2. Open the background – Apps – Develop applications – Create custom apps. as shown in Figure 1 3. Enter the application name, select the application developer, and create the application. as shown in Figure 2 4. Configure the background API range. as shown…