These are chat archives for chat-rooms/programming

25th
Sep 2015
RianM
@RianM
Sep 25 2015 10:17
Hey, so random question about building a restful Web api. How would or should a web api be built where the web api handles the business logic? But still be restful? For instance, if I had a client that wanted all users that were deleted, would I request that information through a route, say, api/deleted/users
Or would I assign a filter in the query string? But if I did assign a filter in the query string, then I'd be moving the business logic to the web client wouldn't I?
Konstantin Tarkus
@koistya
Sep 25 2015 11:00
/api/users?filter=deleted
RianM
@RianM
Sep 25 2015 11:06
Ok thanks