thejagstudio commited on
Commit
785467e
1 Parent(s): 6aecdfa

Update main/views.py

Browse files
Files changed (1) hide show
  1. main/views.py +4 -0
main/views.py CHANGED
@@ -39,6 +39,10 @@ def searchQuery(request):
39
  return Response(data)
40
 
41
 
 
 
 
 
42
  @api_view(['GET'])
43
  def fetchCategory(request):
44
  obj = Categories.objects.all()
 
39
  return Response(data)
40
 
41
 
42
+ @api_view(['GET'])
43
+ def hello(request):
44
+ return Response({"data":"Hello World"})
45
+
46
  @api_view(['GET'])
47
  def fetchCategory(request):
48
  obj = Categories.objects.all()