linux curl post/put请求
2024-09-24 15:38:21
案列:
-X: 请求方式
--header: 请求header
-d: 请求的数据
最后跟上请求的地址
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"message":"aaaa","exchange_id":"123" \
}' 'http://localhost:8917/la-xin-activity-exchange-record-service/obsolete-exchange-record'
最新文章
- windows 7(32/64位)GHO安装指南(序篇)~
- swift NSComparator
- 【BZOJ 4515】【SDOI 2016 Round1 Day1 T3】游戏
- MySQ中Lmax_connections的合理设置
- UVALive 5962 Strongly Connected Chemicals --最大独立集
- 登陆peoplesoft的时候显示信息
- mysqlbinlog 用法
- 常用排序算法集合-C实现
- 手把手教你从 Core Data 迁移到 Realm
- maven install 报错Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin
- PostgreSQL 序列使用
- Visual Studio 2017 Bugs
- 浅谈js中的浅拷贝和深拷贝
- Azure CLI对ASM,ARM资源的基本操作
- Activity的setContentView的流程
- windows上python的安装
- 如何获取阿里云OSS上每个文件夹的大小
- 传统项目转前端工程化——路由跳转时出现浏览器锁死和白屏【该死的同步ajax】
- 通过 Apache Commons HttpClient 发送 HTTPS 请求
- 关于C#中的日期的一个简单总结