Skip to content

Commit

Permalink
update rest-response-formatting.md wiki links (yiisoft#19692)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhell authored Nov 27, 2022
1 parent c297dfb commit 5202140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide-es/rest-response-formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Cuando se maneja una petición al API RESTful, una aplicación realiza usualment
con el formato de la respuesta:

1. Determinar varios factores que pueden afectar al formato de la respuesta, como son el tipo de medio, lenguaje, versión, etc.
Este proceso es también conocido como [negociación de contenido (content negotiation)](https://en.wikipedia.org/wiki/Content_negotiation).
Este proceso es también conocido como [negociación de contenido (content negotiation)](https://es.wikipedia.org/wiki/Negociaci%C3%B3n_de_contenido).
2. La conversión de objetos recurso en arrays, como está descrito en la sección [Recursos (Resources)](rest-resources.md).
Esto es realizado por la clase [[yii\rest\Serializer]].
3. La conversión de arrays en cadenas con el formato determinado por el paso de negociación de contenido. Esto es
Expand Down
2 changes: 1 addition & 1 deletion docs/guide-zh-CN/rest-response-formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
来处理响应格式:

1. 确定可能影响响应格式的各种因素,例如媒介类型,语言,版本,等等。
这个过程也被称为 [content negotiation](https://en.wikipedia.org/wiki/Content_negotiation)
这个过程也被称为 [content negotiation](https://zh.wikipedia.org/wiki/%E5%86%85%E5%AE%B9%E5%8D%8F%E5%95%86)
2. 资源对象转换为数组,如在 [Resources](rest-resources.md) 部分中所描述的。
通过 [[yii\rest\Serializer]] 来完成。
3. 通过内容协商步骤将数组转换成字符串。
Expand Down

0 comments on commit 5202140

Please sign in to comment.