Created
April 1, 2021 04:21
-
-
Save leeliwei930/2e15381fabdd8d36182f9271f8172cb1 to your computer and use it in GitHub Desktop.
GraphQL Basic and Laravel Integration Part 1 - Understanding GraphQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://api.tedious.dev/api/books?fields=id,title,isbn&includes=authors.name&order_by=id&sort=asc | |
{ | |
"data" : [ | |
{ | |
"id" : "1", | |
"title" : "Steve Jobs", | |
"isbn" : "xxxxxx", | |
"authors" : [{ | |
"name" : "Walter Issacons" | |
}] | |
}, | |
{ | |
"id" : "2", | |
"title" : "Billion Dollar Whale", | |
"isbn" : "xxxxxx", | |
"author" : [ | |
{ "name" : "Tom Wright" }, | |
{"name" : "Bradley Hope" }, | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment