Skip to content

Commit 147f621

Browse files
committed
Merge branch 'v1.x' into v2.x
2 parents 58939c0 + 7e4d09a commit 147f621

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/services.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The HttpRequestInterface contains methods for working with web requests. This cl
4646
2. `getCookies` - Get the cookies for the request as an array.
4747
3. `getContentType` - Get the content type of the request.
4848
4. `getHeaders` - Get all the headers as an array.
49-
5. `getResponseCode` - Get the HTTP response code for the request.
49+
5. `getResponseCode` - Get the HTTP response code for the last request.
5050

5151
[Back to Top](#services)
5252

@@ -55,6 +55,7 @@ The HttpRequestInterface contains methods for working with web requests. This cl
5555
2. `getResponseAsString` - Gets the response as a string
5656
3. `getResponseAsXml` - Gets the response as a SimpleXMLElement.
5757
4. `getResponseAsJson` - Get the response as a stdClass from a JSON string.
58+
5. `getResponseCode` - Get the HTTP response code for the response.
5859

5960
[Back to Top](#services)
6061
# Sample Service class request usage

0 commit comments

Comments
 (0)