9 lines
No EOL
206 B
Python
9 lines
No EOL
206 B
Python
from rest_framework.response import Response
|
|
from rest_framework.decorators import api_view
|
|
|
|
|
|
@api_view(["GET"])
|
|
def hello(request):
|
|
return Response({
|
|
"message": "Hello from Freebie API!"
|
|
}) |