I'd like to create a PB application that would use a LanguageTool - application for checking grammar and punctuation rules.
LanguageTool works as a server - when you send for example:
http://localhost:8081/?language=xx&text=my+text
you receive a XML response:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<matches>
<error fromy="0" fromx="0" toy="0" tox="5"
ruleId="UPPERCASE_SENTENCE_START"
msg="This sentence does not start with an uppercase letter"
replacements="This" context="this is a test."
contextoffset="0"
errorlength="4"/>
</matches>
Which command should I use to send a message to this kind of HTTP server and receive the response?
Best regards,
joahim

