O'Reilly logo

Mastering ServiceStack by Andreas Niedermair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Querying your service with Postman

Another approach to offer a sandbox for your API is to feed the Postman plugin of your browser with certain metadata to offer automatic discovery of your operations.

Postman is a Google Chrome plugin that can be launched as a stand-alone application to help developers work with APIs.

The corresponding feature comes shipped with ServiceStack and just needs activation in your app host's configuration.

using Funq;
using ServiceStack;

public override void Configure(Container container)
{
  this.Plugins.Add(new PostmanFeature());
}

The generated Postman collection is now available at /postman and can be added to your collections.

The Postman feature offers the following properties for adaptions, just like outer features: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required