I want to make a post API call from a anchor HTML tag and URL will be included in the href. How can i attach the body parameters.
<a href='http:/test_url:5002/api/GetFile'></a>
And in this I want to send the body parameters in the call as well. I want to find a way to include this in the html tag itself, not in the javascript file.
Help will be appreciated.