案列:

-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'

  

最新文章

  1. windows 7(32/64位)GHO安装指南(序篇)~
  2. swift NSComparator
  3. 【BZOJ 4515】【SDOI 2016 Round1 Day1 T3】游戏
  4. MySQ中Lmax_connections的合理设置
  5. UVALive 5962 Strongly Connected Chemicals --最大独立集
  6. 登陆peoplesoft的时候显示信息
  7. mysqlbinlog 用法
  8. 常用排序算法集合-C实现
  9. 手把手教你从 Core Data 迁移到 Realm
  10. maven install 报错Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin
  11. PostgreSQL 序列使用
  12. Visual Studio 2017 Bugs
  13. 浅谈js中的浅拷贝和深拷贝
  14. Azure CLI对ASM,ARM资源的基本操作
  15. Activity的setContentView的流程
  16. windows上python的安装
  17. 如何获取阿里云OSS上每个文件夹的大小
  18. 传统项目转前端工程化——路由跳转时出现浏览器锁死和白屏【该死的同步ajax】
  19. 通过 Apache Commons HttpClient 发送 HTTPS 请求
  20. 关于C#中的日期的一个简单总结

热门文章

  1. CodeForces 682A Alyona and Numbers (水题,数学)
  2. Integer中getInteger(),valueof()
  3. Centos 安装编译codeblocks&&codelite
  4. unittest测试框架详谈及实操(三)
  5. Android Paint以及ColorFilter等
  6. C#中使用Redis学习一 windows安装redis服务器端和客户端
  7. xaml mvvm(1)之结构
  8. docker swarm 命令
  9. owin Oauth
  10. NET Core 简介