Skip to content

Commit 9ca9ac8

Browse files
committed
Update README.md
1 parent 53f6824 commit 9ca9ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ swagger.apis.pet.addPet({body: pet});
110110

111111
### Sending XML in as a payload to your API?
112112
```js
113-
var body = "<Pet><id>2</id><name>monster</name></Pet>";
113+
var pet = "<Pet><id>2</id><name>monster</name></Pet>";
114114

115115
swagger.apis.pet.addPet({body: pet}, {requestContentType:"application/xml"});
116116
```

0 commit comments

Comments
 (0)