检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The options include GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH, and ANY. path Yes String Backend request path, which can contain variables. timeout No Integer Backend request timeout in milliseconds.
The options include GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH, and ANY. path Yes String Backend request path, which can contain variables. timeout No Integer Backend request timeout in milliseconds.
GET, HEAD, PUT, OPTIONS, and DELETE are idempotent. Default: -1 enable_sm_channel Boolean Indicates whether to enable SM cryptographic algorithms.
Configure the GET, POST, PUT, and DELETE methods and the requires_apigateway_signature wrapper. 1 2 3 4 5 6 app = Flask(__name__) @app.route("/<id>", methods=['GET', 'POST', 'PUT', 'DELETE']) @requires_apigateway_signature() def hello(id): return "Hello World!"
The options include GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH, and ANY. path Yes String Backend request path, which can contain variables. timeout No Integer Backend request timeout in milliseconds.
The options include GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH, and ANY. path Yes String Backend request path, which can contain variables. timeout No Integer Backend request timeout in milliseconds.
Accept,Accept-Ranges,Cache-Control,Range Access-Control-Expose-Headers: X-Request-Id,X-Apig-Latency,X-Apig-Upstream-Latency,X-Apig-RateLimit-Api,X-Apig-RateLimit-User,X-Apig-RateLimit-App,X-Apig-RateLimit-Ip,X-Apig-RateLimit-Api-Allenv Access-Control-Allow-Methods: GET,POST,PUT,DELETE
Accept,Accept-Ranges,Cache-Control,Range Access-Control-Expose-Headers: X-Request-Id,X-Apig-Latency,X-Apig-Upstream-Latency,X-Apig-RateLimit-Api,X-Apig-RateLimit-User,X-Apig-RateLimit-App,X-Apig-RateLimit-Ip,X-Apig-RateLimit-Api-Allenv Access-Control-Allow-Methods: GET,POST,PUT,DELETE
GET, HEAD, PUT, OPTIONS, and DELETE are idempotent. Default: -1 enable_sm_channel Boolean Indicates whether to enable SM cryptographic algorithms.
GET, HEAD, PUT, OPTIONS, and DELETE are idempotent. Default: -1 enable_sm_channel Boolean Indicates whether to enable SM cryptographic algorithms.
GET, HEAD, PUT, OPTIONS, and DELETE are idempotent. Default: -1 enable_sm_channel Boolean Indicates whether to enable SM cryptographic algorithms.
The options are GET, POST, DELETE, PUT, PATCH, HEAD, OPTIONS, and ANY. ANY indicates that the API can be called using any request method. VPC Channel Determine whether the backend service will be accessed using a VPC channel. If yes, select a VPC channel.
Method: Select GET, POST, DELETE, PUT, PATCH, HEAD, OPTIONS, or ANY. ANY indicates that the API can be called using any method. Protocol: Select HTTP, HTTPS, or HTTP&HTTPS. HTTPS is recommended for transmitting important or sensitive data.
GET, HEAD, PUT, OPTIONS, and DELETE are idempotent. Default: -1 enable_sm_channel Boolean Indicates whether to enable SM cryptographic algorithms.