Improve documentation in README
Compare changes
- Fabian Seidl authored
+ 20
− 13
@@ -91,11 +91,27 @@ A simple showcase how the controller can be addressed after
@@ -120,7 +136,7 @@ func createContextWithAuthorization(sessionToken string) context.Context {
@@ -130,20 +146,11 @@ ctx := createContextWithAuthorization(sessionToken)
The gRPC services can also be reached using HTTP requests via the gRPC-Gateway. The fitting OpenAPI definitions can be found [here](https://code.fbi.h-da.de/danet/gosdn/-/tree/master/api/openapiv2?ref_type=heads). Note, that this is experimental and tested less well. If you want to use the controller in secure mode which implies it's mandatory to login and provide the received token in other requests via the HTTP header with the key-value pair: