This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<md-content layout="column"> | |
<md-content layout="row"> | |
<md-card flex> | |
<md-content> | |
<md-card-title> | |
<md-card-title-text> | |
<span class="md-headline">hi</span> | |
<span class="md-subhead">hi</span> | |
</md-card-title-text> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AngularJS: | |
$http.post('http://example.com', { username: "username" }, function (data) { | |
console.log(data); | |
}) | |
// Vanilla: | |
var httpRequest = new XMLHttpRequest() | |
httpRequest.onreadystatechange = function (data) { | |
console.log(data); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// client | |
function tts(text) { | |
var url = 'http://localhost:8080/nlc/synthesize'; | |
var req = { | |
method: 'POST', | |
url: url, | |
responseType: 'blob', | |
data: { |
NewerOlder