func1
GET
/wsController:
github.com/raghavyuva/nixopus-api/internal.(*Router).WebSocketServer.func1
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middleware
Parameters
Header Parameters
Accept
Typestring
Responses
OK
JSON
{
"description": "unknown-interface schema"
}
Samples
cURL
curl -X GET http://localhost:8080/api/v1/ws
JavaScript
fetch("http://localhost:8080/api/v1/ws")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost:8080/api/v1/ws");
Python
import requests
response = requests.get("http://localhost:8080/api/v1/ws")
print(response.json())