We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f6824 commit 9ca9ac8Copy full SHA for 9ca9ac8
README.md
@@ -110,7 +110,7 @@ swagger.apis.pet.addPet({body: pet});
110
111
### Sending XML in as a payload to your API?
112
```js
113
-var body = "<Pet><id>2</id><name>monster</name></Pet>";
+var pet = "<Pet><id>2</id><name>monster</name></Pet>";
114
115
swagger.apis.pet.addPet({body: pet}, {requestContentType:"application/xml"});
116
```
0 commit comments