kvk-bevoegdheden-rest-api

command module
v0.0.0-...-06e9047 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

KVK Bevoegdheden REST API

Simple REST API build on top of KVK Bevoegdheden lib.

Setup

Make sure you have cloned the dependency project https://github.com/kvk-innovatie/kvk-bevoegdheden in the same folder as this project.

To run locally

sh restart.sh

This will run the API. You can remove the cert and key from restart script, the API will fallback on cached data.

You can request the API with a POST request on http://localhost:3333/api/bevoegdheid/{kvknummer} with the following body:

{
	"geboortedatum": "14-12-1979",
	"voornamen": "Kerry",
	"voorvoegselGeslachtsnaam":"van"
	"geslachtsnaam": "Rone"
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL