Skip to content

kyriba/dev-portal-basic-CSharp-Postman-App-sample

Repository files navigation

dev-portal-basic-CSharp-Postman-App

Requirements

Building the client library requires:

Installation

To copy project to your computer copy link of the repository, open command prompt, go to the location where project will be copied and execute git clone command:

git clone https://github.com/kyriba/dev-portal-basic-CSharp-Postman-App-sample.git

Then open command prompt and go to your project directory, for example:

cd dev-portal-basic-CSharp-Postman-App-sample
cd root

After that, start your project by performing the following steps:

  1. Open Postman, select the desired Collection, authenticate through "Get New Access Token" request and run the request that you want to provide in the Application:

  2. Proceed to "Code snippet" section.

img.png

  1. In "Code snippet", proceed to the dropdown list with different programming languages, where "cURL" is set by default, and choose "C# - RestSharp" from the list.

  2. There, copy the snippet without the last line to clipboard:

img_2.png

  1. In the root of the local folder for this application, open the App.cs file.

  2. Paste copied code below the underlined commentary:

img_4.png

  1. Execute this command in Terminal in root folder of cloned app:
dotnet run

If everything was done accordingly with provided steps, the result is going to be printed in the command prompt.

Compatibility Matrix

version compatible with .NET compatible with Postman
1.0.0 5.0 or higher v8 or higher
1.1.0 7.0 or higher v10 or higher

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages