C++ 调用c++;通过https的Lambda运行时
我按照的示例创建了一个hello world示例C++ 调用c++;通过https的Lambda运行时,c++,amazon-web-services,http,aws-lambda,C++,Amazon Web Services,Http,Aws Lambda,我按照的示例创建了一个hello world示例 #include <aws/lambda-runtime/runtime.h> using namespace aws::lambda_runtime; invocation_response my_handler(invocation_request const& request) { return invocation_response::success("Hello, World!", "application
#include <aws/lambda-runtime/runtime.h>
using namespace aws::lambda_runtime;
invocation_response my_handler(invocation_request const& request)
{
return invocation_response::success("Hello, World!", "application/json");
}
int main()
{
run_handler(my_handler);
return 0;
}
由Python编写的其他lambda函数与API网关一起工作,但它不与C++ API编写的lambda函数一起工作,我错过了什么?谢谢
< p>请遵循这个链接 用于使用postman或curl调用https:///default/请点击此链接用于使用postman或curl调用https:///default/注意:非常简短的回答和/或回复到海报上的问题可能应该是评论。你只需要50个代表点就可以在一个问题下发表评论-你能把这个移到那里吗?注意:非常简短和/或是发帖问题的答案可能应该是评论。你只需要50个代表点就可以在一个问题下发表评论-你能把这个移到那里吗?
requests.post("https://blahblah", json={})