Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Eurosmart
/
server-slave
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
4c82dd5
server-slave
/
api
/
routes
/
testRoute.py
Eurosmart
.
4c82dd5
2 months ago
raw
Copy download link
history
blame
Safe
164 Bytes
from
app
import
app
from
flask
import
Flask, request, jsonify
@app.route(
'/api'
, methods=[
"GET"
]
)
def
testapi
():
return
jsonify({
'message'
:
'Test API success'
})