From 1232e498c48b1faa6d2ba349a67668886a3c42f5 Mon Sep 17 00:00:00 2001 From: Romeo Theriault Date: Fri, 15 Feb 2013 14:22:50 -1000 Subject: [PATCH] fixed the documentation so it build properly --- library/uri | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/library/uri b/library/uri index 9c79df13b07..09e33a8ea32 100644 --- a/library/uri +++ b/library/uri @@ -105,8 +105,8 @@ options: required: false default: 200 HEADER_: - description: - - Any parameter starting with "HEADER_" is a sent with your request as a header. For example, + description: > + Any parameter starting with "HEADER_" is a sent with your request as a header. For example, HEADER_Content-Type="application/json" would send the header "Content-Type" along with your request with a value of "application/json". required: false @@ -128,7 +128,8 @@ examples: description: Check that a page returns a status 200 and the word AWESOME is in the page contents. - - code: "uri: url=https://your.jira.server.com/rest/api/2/issue/ method=POST user=your_username password=your_pass body='$FILE(issue.json)' force_basic_auth=yes status_code=201 HEADER_Content-Type="application/json" + - code: | + uri: url=https://your.jira.server.com/rest/api/2/issue/ method=POST user=your_username password=your_pass body='$FILE(issue.json)' force_basic_auth=yes status_code=201 HEADER_Content-Type="application/json" description: "Create a JIRA issue." - code: |