Server Mock Tips

Considerations in server mocks

Servers, in the highest level sense, have a few main responsibilities. First and foremost, they manage the request and response cycle. They accept incoming requests, route them, process them, and then send the appropriate response back. Everything else that they do (for the most part) is in service to this. Secondly, servers perform the logic necessary to fulfill these requests. This might include validating the incoming request, parsing and transforming data, and catching and performing authorization checks. Last, servers get the data needed to fulfill requests. This might be through the querying of a database or communicating with yet another server. In any case, they get the data needed to fulfill the request made.

Get hands-on with 1200+ tech skills courses.