# How to create a REST API with serverless

**URL:** <https://discourse.sst.dev/t/how-to-create-a-rest-api-with-serverless/2305>\
**Category:** Chapter Comments\
**Created:** [February 4, 2021, 4:04am UTC](https://discourse.sst.dev/t/how-to-create-a-rest-api-with-serverless/2305 "2021-02-04T04:04:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [February 4, 2021, 4:04am UTC](https://discourse.sst.dev/t/how-to-create-a-rest-api-with-serverless/2305/1 "2021-02-04T04:04:14Z")

</div>

Link to chapter — [How to create a REST API with serverless | Serverless Stack](https://serverless-stack.com/examples/how-to-create-a-rest-api-with-serverless.html)

---

<div class="post-metadata">

**Author:** ![Jislin](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@Jislin](https://discourse.sst.dev/u/Jislin)\
**Post date:** [March 12, 2025, 5:12pm UTC](https://discourse.sst.dev/t/how-to-create-a-rest-api-with-serverless/2305/2 "2025-03-12T17:12:38Z")

</div>

[How to create a REST API with serverless](https://serverless-stack.com/examples/how-to-create-a-rest-api-with-serverless.html) in this chapter when trying to execute getting error saying:

```auto
❌ SSTBootstrap failed: Resource handler returned message: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use a supported runtime while creating or updating functions. 

```

Any solutions available? Tried to set runtime for lambda but not working
