Skip to content
Snippets Groups Projects
Unverified Commit a6339454 authored by Piero Toffanin's avatar Piero Toffanin Committed by GitHub
Browse files

Update README.md

parent 678c9fb6
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ Response:
}
```
### HTML
### HTML (beta)
Request:
......@@ -47,7 +47,7 @@ Request:
const res = await fetch("https://libretranslate.com/translate", {
method: "POST",
body: JSON.stringify({
q: '<a href="#" class="green">Hello!</a>',
q: '<p class="green">Hello!</p>',
source: "en",
target: "es",
format: "html"
......@@ -62,7 +62,7 @@ Response:
```javascript
{
"translatedText": "<a href\"#='class=\"green\"'>¡Hola!</a>"
"translatedText": "<p class=\"green\">¡Hola!</p>"
}
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment