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

Disclose more better on incomplete URI #33

Open
netaisllc opened this issue Mar 16, 2014 · 0 comments
Open

Disclose more better on incomplete URI #33

netaisllc opened this issue Mar 16, 2014 · 0 comments

Comments

@netaisllc
Copy link

In a project with one resource already added, I intentionally malformed a GET URI as follows:

curl -X GET https://netaisllc.stretchr.com/api/v1.1/factory?key=caff931abfe3fbf1ba3600f9140b883b

IMHO, you could do better than this as a response:

"Fatal error. Please report this to [email protected] along with the following data: Zmxvdy5IYW5kbGVyRnVuYzogSW52YWxpZCBucyBbbmV0YWlzbGxjOmZhY3RvcnkuXQ=="

Consider telling us:

  • the project was found
  • the URI isn't complete
  • or providing a response that includes an array of resources (?)
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