道阻且长,行则将至,走慢一点没关系,不停下就好了.|

Ac_c0mpany丶

园龄:3年7个月粉丝:6关注:3

2022-11-29 11:53阅读: 42评论: 0推荐: 0

接口架构风格——RESTful

接口架构风格——RESTful

RESTful是非常流行的架构设计风格。

一、REST—前后台间的通信方式

1.1 什么是REST

  • REST(Representational State Transfer),表现形式状态转换

1.2 REST的特征

二、认识HTTP方法与CRUD动作映射

RESTful风格使用同一个URL,通过约定不同的HTTP方法来实施不同的业务。

可以看出,RESTful风格的CRUD比传统的CRUD简单明了,它通过HTTP方法来区分增加修改删除查询

三、RESTful风格的入门案例

@RequestMapping

@PathVariable

@RequestBody、@RequestParam、@PathVariable比较

@RestController

@GetMapping、@PostMapping、@PutMapping、@DeleteMapping

本文作者:Ac_c0mpany丶

本文链接:https://www.cnblogs.com/keyongkang/p/16935034.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   Ac_c0mpany丶  阅读(42)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起
  1. 1 You Are My Sunshine REOL
You Are My Sunshine - REOL
00:00 / 00:00
An audio error has occurred.

作曲 : Traditional

You are my sunshine

My only sunshine.

You make me happy

When skies are gray.

You'll never know, dear,

How much I love you.

Please don't take my sunshine away

The other night, dear,

When I lay sleeping

I dreamed I held you in my arms.

When I awoke, dear,

I was mistaken

So I hung my head and cried.

You are my sunshine,

My only sunshine.

You make me happy

When skies are gray.

You'll never know, dear,

How much I love you.

Please don't take my sunshine away.

You are my sunshine,

My only sunshine

You make me happy

When skies are gray.

You'll never know, dear

How much I love you

Please don't take my sunshine away

Please don't take my sunshine away.

Please don't take my sunshine away.