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
{ | |
"links": { | |
"self": "http://example.com/articles", | |
"next": "http://example.com/articles?page[offset]=2", | |
"last": "http://example.com/articles?page[offset]=10" | |
}, | |
"data": [{ | |
"type": "articles", | |
"id": "1", | |
"attributes": { |
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
{ | |
"status": "success", | |
"data": { | |
"post": { | |
"id": 1, | |
"title": "A blog post", | |
"body": "Some useful content" | |
} | |
} | |
} |
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
{ | |
"@odata.context": "serviceRoot/$metadata#People", | |
"@odata.nextLink": "serviceRoot/People?%24skiptoken=8", | |
"value": [ | |
{ | |
"@odata.id": "serviceRoot/People('russellwhyte')", | |
"@odata.etag": "W08D1694BD49A0F11", | |
"@odata.editLink": "serviceRoot/People('russellwhyte')", | |
"UserName": "russellwhyte", | |
"FirstName": "Russell", |
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
{ | |
"_links": { | |
"self": { "href": "/orders" }, | |
"curies": [{ "name": "ea", "href": "http://example.com/docs/rels/{rel}", "templated": true }], | |
"next": { "href": "/orders?page=2" }, | |
"ea:find": { | |
"href": "/orders{?id}", | |
"templated": true | |
}, | |
"ea:admin": [{ |
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
Authorization: Bearer PlaceTokenHere |
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
/api/v3/headis/players |
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
Accept: application/vnd.github.v3+json |
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
<?php | |
$car = new Car(4, 'Honda'); | |
class Car | |
{ | |
private $wheels; | |
private $engine; | |
public function __construct($wheels, $engine) |
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
<?php | |
$car = new Car(4, 'Honda'); | |
class Car | |
{ | |
private $wheels; | |
private $engine; | |
public function __construct(int $wheels, string $engine) |
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
<?php | |
$car = new Car<int, string>(4, 'Honda'); | |
class Car<WheelType, EngineType> | |
{ | |
private $wheels; | |
private $engine; | |
public function __construct(WheelType $wheels, EngineType $engine) |
OlderNewer