mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 07:21:05 +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
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user