You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request: **GET** request/api/online/who
Returns all users when the online value will equal true
Parameter(s): None
PUT request
Request: PUT request api/online/change-status
Takes userid and updates the value of online to not, therefore depending on whether it is already True or False Uses a JSON body: Ensures that only one route needs to be built for both requests
The text was updated successfully, but these errors were encountered:
The online component consists of 2 requests:
GET request
Request:
**GET** request/api/online/who
Returns all users when the online value will equal true
Parameter(s): None
PUT request
Request:
PUT request api/online/change-status
Takes userid and updates the value of online to not, therefore depending on whether it is already True or False
Uses a JSON body: Ensures that only one route needs to be built for both requests
The text was updated successfully, but these errors were encountered: