getAuthorByIdResponse method
Get details of an author identified by the author's authorId
or UUID nad return the data as an http response.
Implementation
Future<http.Response> getAuthorByIdResponse(String authorId) async {
final unencodedPath = '/author/$authorId';
final uri = 'https://$AUTHORITY$unencodedPath';
var response = http.get(Uri.parse(uri), headers: {
HttpHeaders.contentTypeHeader: 'application/json',
});
return response;
}