Tag: api
-
Post Views: 21 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: 17 1. Invoke the following command in the terminal to install the API: go install google.golang.org/api/urlshortener/v1, error: cant load package: package google.golang.org/api/urlshortener/v1. as shown in Figure 1 2. Reference:https://github.com/googleapis/google-api-go-client/blob/master/GettingStarted.md. Invoke the following commands in the terminal to install the API: go get -u google.golang.org/api/urlshortener/v1, error: Package google.golang.org/api/urlshortener/v1: unrecognized import path “google.golang.org/api/urlshortener/v1”. as shown in Figure 2 3. Reference:https://www.shuijingwanwq.com/2019/12/28/3784/.…
-
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…
-
Post Views: 64 1. Create a new warehouse, shuijingwan/yii2-app-advanced, as shown in Figure 1 Yii 2 advanced project template, the template includes four layers: interface (the API to implement the RESTful style web service service), front-end, back-end and console, each of which is a separate YII application. 2. Successfully created the warehouse, as shown in Figure 2 3. Use the…
-
Post Views: 52 1. In Windows Powershll, enter the wwwroot directory, as shown in Figure 1 2. Through the Composer installation, run the following commands and install it in the kaiqiu_shujujixi_api directory, as shown in Figure 2 and 3 composer create-project yiisoft/yii2-app-advanced kaiqiu_shujujixi_api 2.0.10 3. Enter kaiqiu_shujujixi_api directory, right-click, select git bash here, as shown in Figure 4 4. Execute…