An API that connects multiple Microsoft services, enabling data access and automation across platforms
[ code for end point validation ]
func handle_validation_token(rsp http.ResponseWriter, req *http.Request) {
token := req.RequestURI
token1 := strings.Split(token, "=")
encodedValue := token1[1]
decodedValue, err := url.QueryUnescape(encodedValue)
if err != nil {
log.Fatal(err)
return
}
fmt.Println("decoded value=", decodedValue)
fmt.Println("encoded value=", encodedValue)
io.WriteString(rsp, decodedValue)
}