simple online nosql database database with REST API and MongoDB queries
  • Features
  • Docs
  • Blog
  • Templates
  • Pricing
  • Contact
  • Sign Up
  • Log In

Blog

 The latest news and articles about restdb.io  

Database templates!
Don't forget to visit our template catalog! It's the fastest way to get up and running with a restdb.io database. View templates »

Let (the) Postman deliver your REST-API code

by Knut Martin Tornes
|
User|Howto|API|
  • Share on Facebook
  • Tweet
  • Add to Pocket
  • Share on LinkedIn
  • Send email

At restdb.io we have created code examples for various platforms. It's often quite time consuming to find the right library and approach, especially if the programming language is new to you.

But did you know there exists a powerful tool which lets you generate client code for calling REST APIs for many popular languages? Meet (the) Postman.
To get started, the first thing you have to do is to to use the Chrome browser and then install the Postman extension/app. Postman lets you select which REST method to generate code for, and you just paste in the URL endpoint. 

For accessing RestDB, I've added a header with the readonly API-key to my collection "Projects" (read more about API-keys and CORS here: https://restdb.io/docs/apikeys-and-cors). 

Below you see the startup screen of the Postman application.

To check if everything is set up correctly, you just click "Send" to see what you get back from the REST API. From RestDB, you will get back a JSON array structure with objects. 

Generating Code for your language

For testing, you can use this URL from RestDB: https://rdb-proexample.restdb.io/rest/projects and specify the header X-apikey with this value: 569cce8b566759cf4b984a60  (HTTP GET against this collection only).

In order to get the client code for a specific programming language, click the button as shown.


Now, select the language from the drop down list. 

For this example, we chose Swift, and voilĂ : a small class for retrieving data from RestDB on iOS.

Read more about how you can create databases with REST APIs quickly with restdb.io in the feature list or the docs.
  • Share on Facebook
  • Tweet
  • Add to Pocket
  • Share on LinkedIn
  • Send email

All Posts


Search

Topics

  • API
  • Authentication
  • Case study
  • Features
  • Howto
  • Integrations
  • Newsletter
  • Productivity
  • Prototyping
  • Tutorials
  • User

restdb.io is a fast and simple NoSQL cloud database service. With restdb.io you get schema, relations, REST API and an efficient multi-user admin UI for working with data.

Our customers use it for backends, business databases, API-first CMS, data collection and much more. It is easy to get started with the free development plan.

Start Building »

  • Site Links
  • Home Page
  • About Us
  • Contact
  • Blog
  • Templates Catalog
  • Cloud Service
  • Features
  • Pricing
  • Terms & Conditions
  • Privacy Policy
  • Sign Up »
  • Documentation
  • Overview
  • Getting Started
  • Coding against the API
  • Utils
  • Security and Admin
© 2025 restdb.io