Created
February 10, 2025 19:02
-
-
Save danhalliday/26264139a8e1f4d2ad51111885f04215 to your computer and use it in GitHub Desktop.
What do you think about this endpoint?
This file contains 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
GET /users/connected=true | |
[{ | |
first_name: "John", | |
family_name: "Smith", | |
Birthday: "2001-04-12T09:20:32.000+01:00" | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The endpoint is functional but could be improved. The naming conventions and date format should be standardized, and the query parameter (connected=true) should be moved to the query string for better RESTful practices. Additionally, consider adding pagination or metadata for scalability.