Last active
September 15, 2022 13:29
-
-
Save kamilmodest/0a7d5a5e7cb84790f644b79c1fc9e6f0 to your computer and use it in GitHub Desktop.
Requests to Reverso Context from this repo: https://github.com/flagist0/reverso_context_api
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
// Requests to Reverso Context from this repo: https://github.com/flagist0/reverso_context_api | |
### _request_translations | |
POST https://context.reverso.net/bst-query-service | |
Content-Type: application/json | |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:77.0) Gecko/20100101 Firefox/77.0 | |
{ | |
"source_lang": "ru", | |
"target_lang": "en", | |
"mode": 0, | |
"npage": 1, | |
"source_text": "слово", | |
"target_text": "" | |
} | |
### _get_request_validation_token | |
GET https://account.reverso.net/Account/Login?returnUrl=https://context.reverso.net/translation/&lang=en | |
// Find tag like this in the result: | |
// <input name="__RequestVerificationToken" type="hidden" value="CfDJ8IghZoQeXy5Om0gobbt6PvdIM8nMi3mC-vMVTvMoj0Fa3sOPnpg-ew88Yo-x_NlzhBHcqhUWMsIRtmTCOdp9vbyQmqMJaf3MiqEljqYjERpxIIjZIPqPmF5tyGANfclIaPy7vsKSDpfL8UMSZm2TKwA"/> | |
### _request_login | |
POST https://account.reverso.net/Account/Login?returnUrl=https://context.reverso.net/translation/ | |
Content-Type: application/x-www-form-urlencoded | |
Authority: https://account.reverso.net | |
Origin: https://account.reverso.net | |
Referer: https://account.reverso.net/Account/Login | |
Sec-Fetch-Site: same-origin | |
Sec-Fetch-Mode: navigate | |
Sec-Fetch-User: ?1 | |
Sec-Fetch-Dest: document | |
{ | |
"Email": "{{email}}", | |
"Password": "{{password}}", | |
"RememberMe": "true", | |
"__RequestVerificationToken": "{{request_verification_token}}" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment