From c45da1ff0aafae8a3bc5a0343bb51925bd3bc859 Mon Sep 17 00:00:00 2001 From: Uncled1023 Date: Mon, 6 Dec 2021 19:34:44 -0800 Subject: [PATCH] Fixed extra quote --- Teknik/Areas/Help/Views/Help/API/API.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Teknik/Areas/Help/Views/Help/API/API.cshtml b/Teknik/Areas/Help/Views/Help/API/API.cshtml index 7b9c6c1..8e9df93 100644 --- a/Teknik/Areas/Help/Views/Help/API/API.cshtml +++ b/Teknik/Areas/Help/Views/Help/API/API.cshtml @@ -42,7 +42,7 @@

For example, if you're accessing the API via cURL, the following command would associate the create paste with your account. Just replace <OAUTH-TOKEN> with your access token. -
$ curl -H "Authorization: token <OAUTH-TOKEN>"" --data code="Test" @Url.SubRouteUrl("api", "API.v1.Paste")
+
$ curl -H "Authorization: token <OAUTH-TOKEN>" --data code="Test" @Url.SubRouteUrl("api", "API.v1.Paste")

Auth Token (sent in a header)

To authenticate with an Auth Token, you can generate tokens in your Developer Settings

@@ -50,7 +50,7 @@

For example, if you're accessing the API via cURL, the following command would associate the create paste with your account. Just replace <XXXXXXXXXXXXXXXXXXXX> with your Auth Token. -
$ curl -H "Authorization: AuthToken <XXXXXXXXXXXXXXXXXXXX>"" --data code="Test" @Url.SubRouteUrl("api", "API.v1.Paste")
+
$ curl -H "Authorization: AuthToken <XXXXXXXXXXXXXXXXXXXX>" --data code="Test" @Url.SubRouteUrl("api", "API.v1.Paste")