Skip to content

Commit

Permalink
Remove duplicate section (#14081)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex committed Aug 29, 2019
1 parent 45e645e commit 480e3a2
Showing 1 changed file with 1 addition and 47 deletions.
48 changes: 1 addition & 47 deletions aspnetcore/web-api/http-repl.md
Expand Up @@ -5,7 +5,7 @@ description: Learn how to use the HTTP REPL .NET Core Global Tool to browse and
monikerRange: '>= aspnetcore-2.1'
ms.author: scaddie
ms.custom: mvc
ms.date: 07/25/2019
ms.date: 08/29/2019
uid: web-api/http-repl
---
# Test web APIs with the HTTP REPL
Expand Down Expand Up @@ -319,52 +319,6 @@ Subsequent responses honor the setting of four spaces:
]
```

### Set indentation size

Response indentation size customization is currently supported for JSON only. The default size is two spaces. For example:

```json
[
{
"id": 1,
"name": "Apple"
},
{
"id": 2,
"name": "Orange"
},
{
"id": 3,
"name": "Strawberry"
}
]
```

To change the default size, set the `formatting.json.indentSize` key. For example, to always use four spaces:

```console
pref set formatting.json.indentSize 4
```

Subsequent responses honor the setting of four spaces:

```json
[
{
"id": 1,
"name": "Apple"
},
{
"id": 2,
"name": "Orange"
},
{
"id": 3,
"name": "Strawberry"
}
]
```

### Set the default text editor

By default, the HTTP REPL has no text editor configured for use. To test web API methods requiring an HTTP request body, a default text editor must be set. The HTTP REPL tool launches the configured text editor for the sole purpose of composing the request body. Run the following command to set your preferred text editor as the default:
Expand Down

0 comments on commit 480e3a2

Please sign in to comment.