DEV Community

loading...

Discussion on: ⏱ 10 Minute Tutorial: Creating a Serverless Express Web Server & API

Collapse
ankurloriya profile image
Ankur Loriya • Edited

amplify function invoke mylambda

{"statusCode":404,"body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot GET /</pre>\n</body>\n</html>\n","headers":{"x-powered-by":"Express","access-control-allow-origin":"*","access-control-allow-headers":"*","content-security-policy":"default-src 'none'","x-content-type-options":"nosniff","content-type":"text/html; charset=utf-8","content-length":"139","date":"Sat, 30 Jan 2021 07:17:46 GMT","connection":"close"},"isBase64Encoded":false}
Enter fullscreen mode Exit fullscreen mode