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")