How to use grafana api's to create html link directly?

we know we can uer the grafana api to query the result ,such as we can use the postman call grafan api and return the json value but now we want to use like this create the html link directly which this also can use the share way get .
for examle , url is : http://192.168.1.100:3000/api/test/query when we call this url with some post param ,this will return the json data,so my problem is how to we return the html url in this response replace to the json data ,this html link same as that we share the report’s link .