Translations:Stat API/17/ru: Difference between revisions

From Wiki Kaminari Click
(Created page with "==== Python ==== import requests headers = { 'accept': '*/*', } response = requests.options('<nowiki>https://kaminari.click/api/stat/get'</nowiki>, headers=headers) response = requests.options('<nowiki>http://Authorization</nowiki>: Bearer <YOUR API_TOKEN>', headers=headers) Category:Private")
(No difference)

Revision as of 09:30, 18 December 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Stat API)
=== Python ===
 import requests
 
 headers = {
     'accept': '*/*',
 }
 
 response = requests.options('<nowiki>https://kaminari.click/api/stat/get'</nowiki>, headers=headers)
 response = requests.options('<nowiki>http://Authorization</nowiki>: Bearer <YOUR API_TOKEN>', headers=headers)

Python

import requests

headers = {
    'accept': '*/*',
}

response = requests.options('https://kaminari.click/api/stat/get', headers=headers)
response = requests.options('http://Authorization: Bearer <YOUR API_TOKEN>', headers=headers)