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

From Wiki Kaminari Click
(Importing a new version from external source)
(No difference)

Revision as of 02:28, 19 September 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)