mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed extra quote
This commit is contained in:
parent
9450ebd33c
commit
c45da1ff0a
@ -42,7 +42,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
For example, if you're accessing the API via cURL, the following command would associate the create paste with your account. Just replace <code><OAUTH-TOKEN></code> with your access token.
|
For example, if you're accessing the API via cURL, the following command would associate the create paste with your account. Just replace <code><OAUTH-TOKEN></code> with your access token.
|
||||||
<pre><code>$ curl -H "Authorization: token <OAUTH-TOKEN>"" --data code="Test" @Url.SubRouteUrl("api", "API.v1.Paste")</code></pre>
|
<pre><code>$ curl -H "Authorization: token <OAUTH-TOKEN>" --data code="Test" @Url.SubRouteUrl("api", "API.v1.Paste")</code></pre>
|
||||||
<br />
|
<br />
|
||||||
<h4>Auth Token (sent in a header)</h4>
|
<h4>Auth Token (sent in a header)</h4>
|
||||||
<p>To authenticate with an Auth Token, you can generate tokens in your <a href="@Url.SubRouteUrl("account", "User.AuthTokenSettings")">Developer Settings</a></p>
|
<p>To authenticate with an Auth Token, you can generate tokens in your <a href="@Url.SubRouteUrl("account", "User.AuthTokenSettings")">Developer Settings</a></p>
|
||||||
@ -50,7 +50,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
For example, if you're accessing the API via cURL, the following command would associate the create paste with your account. Just replace <code><XXXXXXXXXXXXXXXXXXXX></code> with your Auth Token.
|
For example, if you're accessing the API via cURL, the following command would associate the create paste with your account. Just replace <code><XXXXXXXXXXXXXXXXXXXX></code> with your Auth Token.
|
||||||
<pre><code>$ curl -H "Authorization: AuthToken <XXXXXXXXXXXXXXXXXXXX>"" --data code="Test" @Url.SubRouteUrl("api", "API.v1.Paste")</code></pre>
|
<pre><code>$ curl -H "Authorization: AuthToken <XXXXXXXXXXXXXXXXXXXX>" --data code="Test" @Url.SubRouteUrl("api", "API.v1.Paste")</code></pre>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user