Send with payload from HTML (WIP)

send a request from html with payload but html javascript is not
finished yet. will continue next year.