anubhav77 commited on
Commit
8f56967
·
1 Parent(s): 6690db1

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -134,7 +134,7 @@ def raw_sql(raw_sql: RawSql):
134
  print("Received raw_sql request")
135
  return bkend.raw_sql(raw_sql.raw_sql)
136
 
137
- @app.get(api_base+"/walk")
138
  def walk(path: PathRequest):
139
  print("Received walk request")
140
  items=os.walk(path.dir)
 
134
  print("Received raw_sql request")
135
  return bkend.raw_sql(raw_sql.raw_sql)
136
 
137
+ @app.post(api_base+"/walk")
138
  def walk(path: PathRequest):
139
  print("Received walk request")
140
  items=os.walk(path.dir)