mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 13:01:03 +00:00
Fix typo in hypermedia-apis-vs-data-apis.md (#855)
This commit is contained in:
parent
1ebfbb8df9
commit
b8c7f63feb
@ -59,7 +59,7 @@ Next, we want to be able to create contacts. This would be done via a POST to t
|
||||
|
||||
```text
|
||||
GET /contacts -> render the form & contacts table
|
||||
POST /contacts -> create the new contant, redirect to GET /contacts
|
||||
POST /contacts -> create the new contact, redirect to GET /contacts
|
||||
```
|
||||
|
||||
with HTML that looks something like this:
|
||||
@ -84,7 +84,7 @@ Now we get to the part where htmx is needed: polling the server for updates to t
|
||||
|
||||
```text
|
||||
GET /contacts -> render the form & contacts table
|
||||
POST /contacts -> create the new contant, redirect to GET /contacts
|
||||
POST /contacts -> create the new contact, redirect to GET /contacts
|
||||
GET /contacts/table -> render the contacts table
|
||||
```
|
||||
|
||||
@ -151,4 +151,4 @@ much less of a concern, and providing the end points you need for a good hyperme
|
||||
|
||||
<div style="padding-top: 120px;padding-bottom:40px;text-align: center">
|
||||
</>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user