-
-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Description
Enhancement Request
The "Try here" input on the homepage (https://dictionaryapi.dev/) currently accepts full URLs. If a user mistakenly enters the entire API endpoint (e.g., https://api.dictionaryapi.dev/api/v2/entries/en/hello), the request ends up like:
This causes a "Cannot GET" error and confusion for new users.
Suggested Fix
- Add basic input validation to ensure only a single word (like
hello) is accepted. - Optionally strip full URLs if pasted accidentally.
This small improvement would make the site more user-friendly and help prevent errors.
Thanks for this great free API!
Metadata
Metadata
Assignees
Labels
No labels