Skip to content

Commit 1698dc1

Browse files
authored
Fix request variables section typo
Under Request variables heading, the example given is `# @name login` but under Example request variable usage heading is `#@name login` which doesn't have space between `#` and `@name` and it doesn't work in Visual Studio. It may confuse readers who jump directly to the Example request variable usage heading.
1 parent daad351 commit 1698dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/test/http-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ If you want to refer to the response of a named request, you need to manually tr
240240
For example, suppose your HTTP file has a request that authenticates the caller, and you name it `login`. The response body is a JSON document that contains the bearer token in a property named `token`. In subsequent requests, you want to pass in this bearer token in an `Authorization` header. The following example does this:
241241

242242
```http
243-
#@name login
243+
# @name login
244244
245245
POST {{TodoApi_HostAddress}}/users/token
246246
Content-Type: application/json

0 commit comments

Comments
 (0)