Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Using Browsers Development Tools

Best way to get Examples is to use the browsers development tools to capture the browsers network communication while using translate5 through the frontend.

All below listed curl examples are generated via Google Chromes DevTools.

Authentication

First of all we have to authenticate us at the translate5 installation.The authentication is session based.

More information.

Curl Example
curl 'https://www.translate5.net/editor/session' -X POST -H 'Accept: application/json' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
--data-urlencode 'data={"login":"manager","passwd":"asdfasdf"}'


JSON Result
{"sessionId":"HERE_WILL_BE_YOUR_SESSION_ID_THEN","sessionToken":"HERE_WILL_BE_YOUR_SESSION_TOKEN_THEN"}






{"sessionId":"vpoojvufptec32vqgq9koajgq3","sessionToken":"cc9e8ddb960e984deccd00ea7b77cee8"}

  • No labels