Fix typo in hypermedia-apis-vs-data-apis.md (#855)

This commit is contained in:
James Gardiner 2022-04-07 20:37:34 +01:00 committed by GitHub
parent 1ebfbb8df9
commit b8c7f63feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">
&lt;/&gt;
</div>
</div>