-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40dc637
commit 5eddb5a
Showing
6 changed files
with
69 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<section class="guide"> | ||
<div class="get-books"> | ||
<h2 class="guide-title"><%= getTitle %>></h2> | ||
<p><%= descriptionAll %></p> | ||
<p>아래는 Fetch API 를 사용한 예시지만 다른 언어에서도 API를 사용할 수 있습니다.</p> | ||
|
||
<h4 class="guide-sub-title">리소스 요청</h4> | ||
<pre><code><%= resourceFetch %></code></pre> | ||
|
||
<h4 class="guide-sub-title">응답 예시 (성공)</h4> | ||
<pre><code><%= JSON.stringify(mock, null, 2) %></code></pre> | ||
|
||
<h4 class="guide-sub-title">응답 예시 (실패)</h4> | ||
<pre><code><%= JSON.stringify(errorMessage, null, 2) %></code></pre> | ||
</div> | ||
</section> | ||
<section class="guide"> | ||
<div class="get-book-by-id"> | ||
<h2 class="guide-title"><%= getTitleId %></h2> | ||
<p><%= descriptionId %></p> | ||
<p>아래는 Fetch API 를 사용한 예시지만 다른 언어에서도 API를 사용할 수 있습니다.</p> | ||
|
||
<h4 class="guide-sub-title">리소스 요청</h4> | ||
<pre><code><%= resourceFetch %></code></pre> | ||
|
||
<h4 class="guide-sub-title">응답 예시 (성공)</h4> | ||
<pre><code><%= JSON.stringify(mock, null, 2) %></code></pre> | ||
|
||
<h4 class="guide-sub-title">응답 예시 (실패)</h4> | ||
<pre><code><%= JSON.stringify(errorMessage, null, 2) %></code></pre> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters