-
Notifications
You must be signed in to change notification settings - Fork 661
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
apifaketory dropped support for getting users list #6
Comments
same issue, only mock server provides service which returns only one obj regardless of limit, while the other two servers all returned 502 |
Also having the same issue. Course needs updating to something different or SpringGuru.com should considering providing the api to reduce this type of risk. |
This Problem still persists and had to use mock server(which returns only 1 user data). |
It seems you have to write an example API on your own now. Regarding the comment in https://stackoverflow.com/a/31527616/7773582: |
limit is not working - flaw of apiary API... see: springframeworkguru/spring-rest-client-examples#6 analog zu "https://www.udemy.com/course/spring-framework-5-beginner-to-guru/learn/lecture/8077002", Lektion 23 - 369
Problem solved! Use https://jsonplaceholder.typicode.com/users as an alternative API. //Note that the jasonplaceholder returns a List of User and not a UserData as expected from apifaketory. @OverRide
} As you can see, the jsonplaceholder does not return the same payload as apifaketory: [ So you have to refactor the domain model to Address, Company, Geo, etc., My repo if you need it! Good luck!!! |
you can fake an api on your desktop by following the link below: |
http://apifaketory.com/api/user?limit=10 is no longer available.
I am using http://private-anon-ce456ed119-apifaketory.apiary-mock.com/api/user?limit=1
as an interim solution. However, it returns only 1 user regardless of
limit
paramThe text was updated successfully, but these errors were encountered: