Introducing the JavaScript SDK Plain Client

We have introduced a new way to interact with the SDK for the Contentful Content Management API - the JavaScript Plain Client and new code snippet examples. This client offers several benefits to developers to save time, reduces redundancy and network calls, and utilizes newer Javascript capabilities like async/await.

  • Plain Client allows for the use of async/await with promises, reducing promise chaining that can make code harder to read and maintain
  • Fewer calls means fewer network requests, simplifying and speeding your content operations while making mocking simple
  • The result is a more ergonomic and predictable development experience with the Javascript SDK and updated snippets

Plain Client Snippet

You can use the Plain Client today and view the new snippets in the Developer Portal by opening any operation and selecting the "JavaScript (Plain client)" option.