conent should be content

This commit is contained in:
Henk Kraal 2015-12-10 13:56:23 +01:00
parent 240ccb1cdd
commit 429ef239f9

View file

@ -44,7 +44,7 @@ Can also be set via GET. The format of the API response. Choices are:
{ {
"url": "https://dpaste.de/xsWd", "url": "https://dpaste.de/xsWd",
"lexer": "python", "lexer": "python",
"conent": "The text body of the snippet." "content": "The text body of the snippet."
} }
@ -74,7 +74,7 @@ filename! Example::
"url": "https://dpaste.de/xsWd", "url": "https://dpaste.de/xsWd",
"lexer": "", "lexer": "",
"filename": "python", "filename": "python",
"conent": "The text body of the snippet." "content": "The text body of the snippet."
} }
This will create a ``python`` highlighted snippet. However in this example:: This will create a ``python`` highlighted snippet. However in this example::
@ -83,7 +83,7 @@ This will create a ``python`` highlighted snippet. However in this example::
"url": "https://dpaste.de/xsWd", "url": "https://dpaste.de/xsWd",
"lexer": "php", "lexer": "php",
"filename": "python", "filename": "python",
"conent": "The text body of the snippet." "content": "The text body of the snippet."
} }
Since the lexer is set too, we will create a ``php`` highlighted snippet. Since the lexer is set too, we will create a ``php`` highlighted snippet.