Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2605 committed Mar 6, 2022
2 parents af99968 + 102408e commit b14f973
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/docs/standard-lib/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,21 @@ The Response object returned has 3 public properties, "content", "headers" and "
HTTP request as a string, "headers" is a list of all the response headers and "statusCode" is a number denoting the status code from
the response

#### Quick Reference Table
##### Properties

| Property | Description |
|------------|--------------------------------------------------------|
| content | Raw string content returned from the HTTP request |
| headers | A list of headers returned from the HTTP request |
| statusCode | The status code returned from the HTTP request |

##### Methods

| Method | Description |
|------------|--------------------------------------------------------|
| json | Convert the content property to JSON |

Example response from [httpbin.org](https://httpbin.org)

```json
Expand Down

0 comments on commit b14f973

Please sign in to comment.