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

From Wiki Kaminari Click
(Importing a new version from external source)
 
(Importing a new version from external source)
Line 8: Line 8:
  response = requests.options('<nowiki>https://kaminari.click/api/stat/get'</nowiki>, headers=headers)
  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)
  response = requests.options('<nowiki>http://Authorization</nowiki>: Bearer <YOUR API_TOKEN>', headers=headers)
[[Category:Private]]

Revision as of 10:53, 19 January 2024

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)