|
|
@ -256,6 +256,22 @@ |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td class="apiref-table-right"> |
|
|
|
<small th:text="${#messages.msgOrNull('page.text.apiref.book.add.d')} ?: 'page.text.apiref.book.add.d'"> |
|
|
|
page.text.apiref.book.add.d |
|
|
|
</small> |
|
|
|
<br> |
|
|
|
<code th:text="'curl --include --request POST --header "Content-Type: application/json" --data \'{"title":"Halo: The Flood","year":2003,"isbn":"0345459-210","price":24.99,"category":{"name":"sCi-fI"},"author":{"lastname":"Dietz"}}\' ' + ${baseUrl} + 'api/booklist'"> |
|
|
|
code placeholder |
|
|
|
</code> |
|
|
|
<br> |
|
|
|
<small th:text="${#messages.msgOrNull('page.text.apiref.book.info.a')} ?: 'page.text.apiref.book.info.a'"> |
|
|
|
page.text.apiref.book.info.a |
|
|
|
</small> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<small th:text="${#messages.msgOrNull('page.text.apiref.unix.info')} ?: 'page.text.apiref.unix.info'">page.text.apiref.unix.info</small> |
|
|
|