mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
📚 Add http methods documentation to the API doc page
This commit is contained in:
parent
88f49cfbc9
commit
7eecd50c50
1 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,13 @@
|
||||||
|
|
||||||
<h2>GENERAL NOTES</h2>
|
<h2>GENERAL NOTES</h2>
|
||||||
|
|
||||||
|
<h3>HTTP Transport & Methods</h3>
|
||||||
|
<p>The HTTP is the transport method for accesing this API; all
|
||||||
|
functions can be called using POST HTTP method; the functions
|
||||||
|
that starts with <b>get-</b> in the name, can use GET HTTP
|
||||||
|
method which in many cases benefits from the HTTP cache.</p>
|
||||||
|
|
||||||
|
|
||||||
<h3>Authentication</h3>
|
<h3>Authentication</h3>
|
||||||
<p>The penpot backend right now offers two way for authenticate the request:
|
<p>The penpot backend right now offers two way for authenticate the request:
|
||||||
<b>cookies</b> (the same mechanism that we use ourselves on accessing the API from the
|
<b>cookies</b> (the same mechanism that we use ourselves on accessing the API from the
|
||||||
|
|
Loading…
Add table
Reference in a new issue