API Gateway - Gateway response - HTTP API

0

With HTTP APIs, is there a way to customise the response sent back in errors from the API GW itself - i.e. is there an equivalent to Gateway Responses in REST APIs?

AWS
Owen
已提問 3 年前檢視次數 1218 次
1 個回答
0
已接受的答案

Changing API Gateway errors is currently not supported. You can use response parameters to transform the HTTP response from a backend integration before returning the response to clients. You can modify headers or the status code of a response before API Gateway returns the response to clients.

profile pictureAWS
專家
Uri
已回答 3 年前
AWS
專家
已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南