Created
November 2, 2014 15:29
-
-
Save bnb/960fe2dbb0cbc8e604a9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| if(!isset($_GET['entity'])){ | |
| header('HTTP/1.0 400 Bad Request'); | |
| header('Link: <?entity=some-entity-uri>, rel="Usage";'); //Is the entity here... | |
| die(); | |
| } | |
| $entity = $_GET['entity']; //...the same as the entity in the GET request here? If not, where is the one in the GET request coming from? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment