We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d89589 commit 4dafd39Copy full SHA for 4dafd39
routes/api/v1/index.dart
@@ -6,8 +6,8 @@ import 'package:dart_frog/dart_frog.dart';
6
///
7
/// Returns a simple welcome message indicating the API is running.
8
Response onRequest(RequestContext context) {
9
- // You could potentially add more information here, like API version
10
- // or links to documentation in a real application.
+ // You could potentially add more information here
+ // like links to documentation.
11
return Response.json(
12
statusCode: HttpStatus.ok, // 200
13
body: {'message': 'Welcome to the Headlines Toolkit API V1!'},
0 commit comments