You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: distribution/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -526,7 +526,7 @@ Now, add a review for this book using the `POST` operation for the `Review` reso
526
526
527
527
There are two interesting things to mention about this request:
528
528
529
-
First, we learned how to work with relations. In a hypermedia API, every resource is identified by an (unique) [IRI](https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier).
529
+
First, we learned how to work with relations. In a hypermedia API, every resource is identified by a (unique) [IRI](https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier).
530
530
A URL is a valid IRI, and it's what API Platform uses. The `@id` property of every JSON-LD document contains the IRI identifying
531
531
it. You can use this IRI to reference this document from other documents. In the previous request, we used the IRI of the
532
532
book we created earlier to link it with the `Review` we were creating. API Platform is smart enough to deal with IRIs.
@@ -761,7 +761,7 @@ Open `https://localhost/books/` in your browser:
761
761
You can also choose to generate the code for a specific resource with the `--resource` argument (example:
0 commit comments