diff --git a/www/essays/hypermedia-apis-vs-data-apis.md b/www/essays/hypermedia-apis-vs-data-apis.md index 88be7ca3..4a62759c 100644 --- a/www/essays/hypermedia-apis-vs-data-apis.md +++ b/www/essays/hypermedia-apis-vs-data-apis.md @@ -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
</> -
\ No newline at end of file +