Skip to content

Commit ecea67e

Browse files
committed
fix snippet
Signed-off-by: Mohammad Shehar Yaar Tausif <sheharyaar48@gmail.com>
1 parent 9d62cdd commit ecea67e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/latest/plugins/dubbo-proxy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ APISIX dubbo plugin uses `hessian2` as the serialization protocol. It supports o
9999

100100
Your dubbo config should be configured to use `hessian2` as the serialization protocol.
101101

102-
```xml
102+
```yml
103103
dubbo:
104104
...
105105
protocol:
@@ -119,7 +119,7 @@ public interface DemoService {
119119

120120
If you need to pass request data, you can add the data to the HTTP request header. The plugin will convert the HTTP request header to the request data of the Dubbo service. Here is a sample HTTP request that passes `user` information:
121121

122-
```curl
122+
```bash
123123
curl -i -X POST 'http://localhost:9080/hello' \
124124
--header 'user: apisix'
125125

0 commit comments

Comments
 (0)