getUserFeedResponse method

Future<Response> getUserFeedResponse(
  1. String sessionToken
)
inherited

Endpoint used: GET /user/follows/manga/feed

Returns a http response containing the user feed for the user identified by the sessionToken.

Implementation

Future<http.Response> getUserFeedResponse(String sessionToken) async {
  final unencodedPath = '/user/follows/manga/feed';
  final uri = 'https://$AUTHORITY$unencodedPath';
  var response = await http.get(Uri.parse(uri), headers: {
    HttpHeaders.contentTypeHeader: 'application/json',
    HttpHeaders.authorizationHeader: 'Bearer $sessionToken'
  });
  return response;
}