diff --git a/README.md b/README.md index 55beb7b..0c99739 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ You can easily test the library using the free `Waver` application which is avai - https://waver.ggerganov.com - https://ggwave.ggerganov.com -**[REST service](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-to-file)** +**[HTTP service](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-to-file)** ```bash - curl https://ggwave.ggerganov.com/ggwave-to-file.php?m=Hello\ World! --output hello.wav + curl https://ggwave-to-file.ggerganov.com/?m=Hello\ world! --output hello.wav ``` ## Technical details diff --git a/examples/ggwave-to-file/README.md b/examples/ggwave-to-file/README.md index 1f962c7..d6123ad 100644 --- a/examples/ggwave-to-file/README.md +++ b/examples/ggwave-to-file/README.md @@ -3,19 +3,19 @@ Output a generated waveform to an uncompressed WAV file. ```bash -echo "Hello World!" | ./bin/ggwave-to-file > example.wav +echo "Hello world!" | ./bin/ggwave-to-file > example.wav ``` -Based on this tool, there is a REST service available on the following link: +Based on this tool, there is an HTTP service available on the following link: - https://ggwave.ggerganov.com/ggwave-to-file.php +https://ggwave-to-file.ggerganov.com/ You can use it to query audio waveforms for different text messages. ### curl: ```bash -curl https://ggwave.ggerganov.com/ggwave-to-file.php?m=Hello\ World! --output hello.wav +curl https://ggwave-to-file.ggerganov.com/?m=Hello\ world! --output hello.wav ``` ### python @@ -26,7 +26,7 @@ import requests def ggwave(message: str, protocolId: int = 1): - url = 'https://ggwave.ggerganov.com/ggwave-to-file.php' + url = 'https://ggwave-to-file.ggerganov.com/' params = { 'm': message, # message to encode diff --git a/examples/ggwave-to-file/ggwave-to-file.py b/examples/ggwave-to-file/ggwave-to-file.py index 3000664..f795ac8 100644 --- a/examples/ggwave-to-file/ggwave-to-file.py +++ b/examples/ggwave-to-file/ggwave-to-file.py @@ -3,7 +3,7 @@ import requests def ggwave(message: str, protocolId: int = 1): - url = 'https://ggwave.ggerganov.com/ggwave-to-file.php' + url = 'https://ggwave-to-file.ggerganov.com/' params = { 'm': message, # message to encode