Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch existing url in yourls db #2

Open
danito opened this issue Jun 16, 2015 · 1 comment
Open

Catch existing url in yourls db #2

danito opened this issue Jun 16, 2015 · 1 comment

Comments

@danito
Copy link
Owner

danito commented Jun 16, 2015

When submitting an existing url to yourls, response = .

{  "status":"fail",
    "code":"error:url",
    "url":{
              "keyword":"a",
              "url":"http:\/\/0",
              "title":"400 Bad Request",
              "date":"2015-06-16 14:06:15",
              "ip":"2a00:d0c0:200:0:b9:1a:9c2b:109",
              "clicks":"0"
             },
      "message":"http:\/\/0 already exists in database",
      "title":"400 Bad Request",
      "shorturl":"http:\/\/nixis.me\/a",
      "statusCode":200
}
@danito
Copy link
Owner Author

danito commented Jan 29, 2016

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant