Git Product home page Git Product logo

api-stuff's Introduction

api-stuff

Repository for api specifications, postman collections and api guidelines.

api-stuff's People

Contributors

andrwd avatar corinabecherescu avatar daianastef avatar darkopurger avatar lukasz-kaminski avatar pokerjocke70 avatar shiec avatar tudorr45 avatar zaqpiotr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-stuff's Issues

Samples with use of VSCode RestClient Extention

Hi

VSCode combine with RESTClient Extention is a very popular way to test REST endpoint, and often preffered over Postman.

Please add some sample in this repo who can be used by use the RESTClient. To contribute I give one sample here:

After open VSCode and installed RESTClient Extention

Create a file with extention .rest, example: RgsRestCalls.rest

Add the following content to the file created above:

`

# @name auth

POST https://login.bisnode.com/as/token.oauth2
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials
&client_id=[client received from D&B]
&client_secret=[secret received from D&B]
&scope=rgs-decision-test

#Test url
@baseurl = https://api.bisnode.com/decision/v3/prodtest/

POST {{baseUrl}}/company/no
Authorization: Bearer {{auth.response.body.$.access_token}}
Content-Type: application/json

{
"registrationNumber": "938591997",
"rulesetKey": "[hashed rulesetKey received from D&B]"
}

`

How to use:
First click on the "Send request" who appear above POST https://login.bisnode.com/as/token.oauth2, then after receive the access roken, ten click "Send request" who appear above POST {{baseUrl}}/company/no. You should now receive the responce.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.