Add POST request responsible for sending friend request. In practice, it comes down to adding userID to the sentFriendsRequests and recievedFriendsRequests of respective users.
Example request
API_URL/friends/send-request
Body
userID - user id of a user that is to be added
Response
Response should have code 204 (no-content). No message necessary.
Add POST request responsible for sending friend request. In practice, it comes down to adding userID to the sentFriendsRequests and recievedFriendsRequests of respective users.
Example request
API_URL/friends/send-request
Body
Response
Response should have code 204 (no-content). No message necessary.