Morpheus API Gateway LogoMorpheus API Gateway

Root

Root endpoint returning basic API information.

GET

Response Body

Successful Response

TypeScript Definitions

Use the response body type in TypeScript.

responseRequiredunknown
curl -X GET "https://example.com/"
fetch("https://example.com/")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://example.com/"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://example.com/"

response = requests.request("GET", url)

print(response.text)
null

How is this guide?