当前位置:网站首页>WooCommerce installation and rest api usage
WooCommerce installation and rest api usage
2022-08-10 06:50:00 【Unfinished code written every week】
Install
I'll skip the mysql configuration here
WooCommerce is essentially an e-commerce plugin installed on wordpress, so let's install wordpress and use docker for simplicity
docker run --name mywordpress -p 8080:80 -d wordpress
After entering, create a database wordpress in MySQL in advance, and skip it later
Using the rest api
First you need to generate a key
Remember to add a key, the account password will be saved by yourself, and the latter will not be read
Then we use apipost to test the restful interface here, and found that it is not very good, and an error 401 is reported, and this piece is temporarily put away
Wheels
Found a packaged repository on githubcalatonsystems/wc-api-java: Java wrapper for WooCommerce REST API (github.com)
You can use the methods in the test class
边栏推荐
- 结构体初阶
- 2022 Henan Mengxin League Game (5): University of Information Engineering C - Throwing a Handkerchief
- 强化学习_12_Datawhale深度确定性策略梯度
- Qt借助隐藏控件和QSS绘制重复元素
- 强化学习_07_DataWhale深度Q网络进阶技巧
- ES13 - ES2022 - The 123rd ECMA Congress approves the ECMAScript 2022 language specification
- Qt程序字体初始化引起的白屏问题
- 【电商业务】外行为何难区别 商品属性与商品规格
- 语法基础(判断语句)
- Why do games need hot updates
猜你喜欢
随机推荐
求职
ES13 - ES2022 - The 123rd ECMA Congress approves the ECMAScript 2022 language specification
简单业务类
C language file operation
delta method 介绍
[Reinforcement Learning] "Easy RL" - Q-learning - CliffWalking (cliff walking) code interpretation
自组织是管理者和成员的双向奔赴
【无标题】
机器学习_LGB调参汇总(开箱即食)
Qt程序字体初始化引起的白屏问题
Unity3d famous project-Dark Tree translation
BUUCTF Notes (web)
Quickly grasp game resources in one hour and remote hot update
大佬,oracle单表增量同步时候源库服务器额外占用内存近2g,这不正常吧
A few lines of code can crash the system;
ES13 - ES2022 - 第 123 届 ECMA 大会批准了 ECMAScript 2022 语言规范
2022 Henan Mengxin League Game (5): University of Information Engineering K - Matrix Generation
tqdm高级使用方法(类keras进度条)
BUUCTF笔记(web)
如何正确理解线程机制中常见的I/O模型,各自主要用来解决什么问题?