Defines an API request.
constructFormdata() Constructs a FormData instance from an object.
the object to generate the FormData from
delete() DELETE request
POST /api/follows/follow/ - Promises to follow a user
generateHeaders() A function used to generate the headers that need to be passed to the request performee.
get() GET request
patch() PATCH request
Request body
patchFormdata() PATCH request (multipart/form-data, application/x-www-form-urlencoded)
post() POST request
Request body
postFormdata() POST request (multipart/form-data, application/x-www-form-urlencoded)
put() PUT request
Request body
putFormdata() PUT request (multipart/form-data, application/x-www-form-urlencoded)
POST /api/follows/unfollow/ - Promises to unfollow a user
The username of the user to unfollow
POST /api/follows/update/ - Promises to update a following
Generated using TypeDoc
public FollowsAPI - Provides methods to interact with the Follows API