The following HTML script passes in Guido Music Notation code to a server:
<html>
<body>
<form action="http://guido.server.org/stream/*ScoreID*/reset" method="post">
<input type="submit" value="Submit" />
</form>
</body>
</html>
Here is an equivalent call using ajax:
$.ajax({
url: 'http://guido.server.org/stream/*ScoreID*/reset',
type: 'POST',
});
or using jQuery:
$.post('http://guido.server.org/stream/*ScoreID*/reset');
or using curl:
curl http://guido.server.org/stream/*ScoreID*/reset
You may think the GUIDO stream is reset with GuidoResetStream. The associated Abstract Respresentation is deleted.