当前位置:网站首页>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 wordpressAfter 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
边栏推荐
- Qt滚动条(QScrollBar)圆角样式问题跟踪
- 【8月9日活动预告】Prometheus峰会
- 【Event Preview on August 9】Prometheus Summit
- 强化学习_11_Datawhale模仿学习
- 2022 Henan Mengxin League (fifth) game: University of Information Engineering H - Xiao Ming drinking milk tea
- Basic use of Log4j2
- ctfshow SSTI 知识点总结
- 什么是MQTT网关?与传统DTU有哪些区别?
- 3-6月面经总结,200多页真题笔记和详解(含核心考点及6家大厂)
- 2022河南萌新联赛第(五)场:信息工程大学 J - AC自动机
猜你喜欢

Nude speech - lying flat - brushing questions - big factory (several tips for Android interviews)

Fiddler(八) - 抓取手机APP的流量-插件Fiddler Orchestra Beta安装&配置

【Day10】进程管理命令
![[Network Security] Practice AWVS Range to reproduce CSRF vulnerability](/img/7f/f08e429e3d8ede03a1c1754e256f99.png)
[Network Security] Practice AWVS Range to reproduce CSRF vulnerability

强化学习_10_Datawhale稀疏奖励

Deep understanding of the array

强化学习_03_表格方法实践(CartPole-v0 And MontoCarlo)

ESP32 485风速

英国国家卫生服务遭受攻击,系统出现大面积故障

软件测试面试题避雷(HR面试题)最常见的面试问题和技巧性答复
随机推荐
【强化学习】《Easy RL》- Q-learning - CliffWalking(悬崖行走)代码解读
Basic use of Log4j2
2022河南萌新联赛第(五)场:信息工程大学 H - 小明喝奶茶
2022河南萌新联赛第(五)场:信息工程大学 F - 分割草坪
MySQL之InnoDB引擎(六)
Qt借助隐藏控件和QSS绘制重复元素
High quality WordPress download station 5 play theme template
个人博客系统
Please pay attention to me, thank you.
动态规划——从0-1背包问题到leetcode正则匹配
杭州公积金修改手机号信息
关于MongoDb查询Decimal128转BigDecimal问题
程序员的十楼层。看看自己在第几层。PS:我的目标是:30岁第四层
3-6月面经总结,200多页真题笔记和详解(含核心考点及6家大厂)
2022河南萌新联赛第(五)场:信息工程大学 C - 丢手绢
BUUCTF Notes (web)
Ladies and gentlemen, oracle11g, cdc2.2, flink1.13.6, single-table incremental synchronization.Without adding data
Unity3d famous project-Dark Tree translation
2022 Henan Mengxin League No. 5: University of Information Engineering B - Transportation Renovation
Data types for database learning