please shoe me how i can handel request post , get , i use this code but not work
# Restrict allowed methods to GET and POST only
@allowed_methods {
method GET POST
}
handle @allowed_methods {
# Serve PHP through FastCGI (application) container
php_fastcgi app:9000 {
root /workspace/public
}
# Serve static files for other requests
file_server
}
# Catch-all for unsupported methods
handle {
respond "Method not allowed" 405
}