diff options
author | Srijay Kasturi <techfilmer@techfilmer.com> | 2014-01-20 22:09:31 +0400 |
---|---|---|
committer | Srijay Kasturi <techfilmer@techfilmer.com> | 2014-01-20 22:09:31 +0400 |
commit | 52a5e35d0b2f2237322eed7023bf9b47e2f4b421 (patch) | |
tree | c43a18966406b536e1c82610b3b9eec9bf0d8fec | |
parent | 24c540f656699a826f51bff4e695505cefff2766 (diff) |
fix to spec, this makes more sense
-rw-r--r-- | API.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ The `lookup` action takes a single argument: `url`. This is the URL to lookup. If it exists, the API will return with the destination of that URL. If it does not exist, the API will return with the status code 404 (Not Found). -Example: GET `http://polr.cf/api.php?apikey=hunter2&action=lookup&url=http://polr.cf/3` +Example: GET `http://polr.cf/api.php?apikey=hunter2&action=lookup&url=3` Remember that the `url` argument must be urlencoded (unless it is passed as a POST parameter). |