package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://deep-index.moralis.io/api/v2/contracts-review?chain=eth"
payload := strings.NewReader("{\"contracts\":{\"contract_address\":\"0x06012c8cf97bead5deae237070f9587f8e7a266d\",\"reason\":100,\"report_type\":\"spam\",\"contract_type\":\"ERC20\"}}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept", "application/json")
req.Header.Add("Content-Type", "application/json")
req.Header.Add("X-API-Key", "YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}