Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringlengths
39
1.46k
input
stringlengths
116
1.28k
output
stringlengths
228
1.27k
This request sends a feedback message with the user's name, email, and comment to the API server for processing and storage.
[POST] https://api.example.com/feedback Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "name": "John Doe", "email": "johndoe@example.com", "message": "This is a sample feedback message." }
import requests token = "token123" url = "https://api.example.com/feedback" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "name": "John Doe", "email": "johndoe@example.com", "message": "This is a sample feedback message." } response = requests.post(u...
This request initiates a cryptocurrency transfer of 100 units from a testnet to a mainnet account, using a specific token and user address.
[POST] https://api.bridge.dapp.io/v1/bridge Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MmRlZjIwIiwiaWF0IjoxNjQyNTk2MDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "fromChain": "testnet", "toChain": "mainnet", "tokenAddress": "0x742d3...
import requests import json url = "https://api.bridge.dapp.io/v1/bridge" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MmRlZjIwIiwiaWF0IjoxNjQyNTk2MDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "fromChain": ...
This request starts a new mining session on the MinerQuest platform with the specified miner, game, pool, hardware, and algorithm for a duration of one hour.
[POST] https://api.minerquest.io/v1/mining/sessions Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MzRjNjI3NDQ1IiwiaWF0IjoxNjM4NTk2MDAwfQ.7Vv8B7P5tdFpjPzR Content-Type: application/json Body: { "minerId": "5ff934c6277445", "gameId": "minerquest", "miningPoolId": "mainnet", "hard...
import requests import json url = "https://api.minerquest.io/v1/mining/sessions" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MzRjNjI3NDQ1IiwiaWF0IjoxNjM4NTk2MDAwfQ.7Vv8B7P5tdFpjPzR", "Content-Type": "application/json" } data = { "minerId": "5ff934c6277445",...
This request claims a daily reward in a web3 game by sending a POST request with the user's wallet address, chain ID, and reward type to the game's API.
[POST] https://api.web3game.io/v1/rewards/daily Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM4MjE2MjM2IiwiaWF0IjoxNjQyMzkwMDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",...
import requests import json url = "https://api.web3game.io/v1/rewards/daily" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM4MjE2MjM2IiwiaWF0IjoxNjQyMzkwMDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "wall...
This request sends a feedback message with the user's name, email, and comment to the API server for processing.
[POST] https://api.example.com/feedback Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "name": "John Doe", "email": "johndoe@example.com", "message": "This is a sample feedback message." }
import requests token = "token123" url = "https://api.example.com/feedback" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "name": "John Doe", "email": "johndoe@example.com", "message": "This is a sample feedback message." } response = requests.post(u...
This request sends a private message with the text "Hello, how are you?" to a user with ID 123 on a messaging platform.
[POST] https://api.example.com/messages/private Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "recipient_id": 123, "message": "Hello, how are you?", "attachment...
import requests import json url = "https://api.example.com/messages/private" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "recipien...
This request initiates a cross-chain token transfer of 100 units from a testnet address to a mainnet address.
[POST] https://bridge-api.dapp.io/v1/bridge Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MzlhNWYxNTIyIiwiaWF0IjoxNjM5NTk2MDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "from_chain": "testnet", "to_chain": "mainnet", "token_address": "...
import requests import json url = "https://bridge-api.dapp.io/v1/bridge" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MzlhNWYxNTIyIiwiaWF0IjoxNjM5NTk2MDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "from_cha...
This request creates a new mining session on the MinerQuest platform with specified details such as miner ID, game ID, mining pool, algorithm, hardware, and hash rate.
[POST] https://api.minerquest.io/v1/mining/sessions Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YzEyZmRmMjM0IiwiaWF0IjoxNjQyMjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "minerId": "5ff62c5c12dfd234", "gameId": "minerquest",...
import requests import json url = "https://api.minerquest.io/v1/mining/sessions" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YzEyZmRmMjM0IiwiaWF0IjoxNjQyMjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { ...
This request creates a new user account on the example.com platform with the specified username, email, and password.
[POST] https://api.example.com/v1/accounts Headers: Content-Type: application/json Body: { "username": "johnDoe", "email": "johndoe@example.com", "password": "mysecretpassword" }
import requests url = "https://api.example.com/v1/accounts" headers = {"Content-Type": "application/json"} data = {"username": "johnDoe", "email": "johndoe@example.com", "password": "mysecretpassword"} response = requests.post(url, headers=headers, json=data) print(response.text)
This request sends a congratulatory message to a specific user in a game, informing them that they have won 100 gold coins.
[POST] https://api.gamezone.com/messages Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "recipient_id": 12345, "message": "Hello, you won 100 gold coins!", "game_id": 1, "sender_id": 67890 }
import requests url = "https://api.gamezone.com/messages" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "recipient_id": 12345, "message": "Hello, you won 100 gold coins!", "game_id": 1, "sender_id": 67890 } response = requests.post(url, h...
This request creates a new user account on the example.com platform with the specified username, email, and password.
[POST] https://api.example.com/v1/users Headers: Content-Type: application/json Body: { "username": "johnDoe", "email": "johndoe@example.com", "password": "mysecretpassword" }
import requests url = "https://api.example.com/v1/users" headers = {"Content-Type": "application/json"} data = {"username": "johnDoe", "email": "johndoe@example.com", "password": "mysecretpassword"} response = requests.post(url, headers=headers, json=data) print(response.text)
This request posts a new public comment to a specific discussion with the ID 123 on a platform, which can be automated to quickly provide feedback or respond to topics.
[POST] https://api.example.com/discussions/123/comments Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "content": "This is a public comment", "parent_id": null, "discussion_id": 123 }
import requests token = "token123" discussion_id = 123 content = "This is a public comment" url = f"https://api.example.com/discussions/{discussion_id}/comments" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "content": content, "parent_id": None, "di...
This request sends a transaction on the Ethereum blockchain from a specified sender to a receiver with a defined value, gas, and gas price using the Web3API.
[POST] https://api.web3api.com/v1/transactions Headers: Authorization: Bearer YOUR_API_KEY Content-Type: application/json Body: { "from": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "to": "0x55241586d50469745864804697458648046974586", "value": "0.01", "gas": "20000", "gasPrice": "20.0", "nonce": "1" }
import requests import json api_key = "YOUR_API_KEY" url = "https://api.web3api.com/v1/transactions" headers = { "Authorization": f"Bearer {api_key}", "Content-Type": "application/json" } data = { "from": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "to": "0x55241586d50469745864804697458648046974586...
This request checks the cooldown status for claiming cryptocurrency from a faucet service for a specific Ethereum wallet address.
[GET] https://api.crypto faucet.io/v1/faucet/claim/cooldown Headers: Authorization: Bearer faucet-api-token Content-Type: application/json Body: { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" }
import requests import json faucet_api_token = "your_faucet_api_token" address = "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" headers = { "Authorization": f"Bearer {faucet_api_token}", "Content-Type": "application/json" } data = { "address": address } response = requests.get("https://api.crypto faucet.i...
This request initiates a cryptocurrency bridge transfer of 1 token from chain 97 to chain 56 on behalf of a user with the specified address.
[POST] https://bridge-api.dapp.io/v1/bridge Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "fromChainId": 97, "toChainId": 56, "tokenAddress": "0x742d35Cc6634C05...
import requests import json url = "https://bridge-api.dapp.io/v1/bridge" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "fromChainId"...
This request sets up a wallet monitor to track a specific cryptocurrency token at a given wallet address and sends notifications to a designated webhook URL when there are updates.
[POST] https://api.walletmonitor.com/v1/watch Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "wallet_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "token_contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "callback_url": "https://example.com/webhook" }
import requests auth_token = "1234567890abcdef" wallet_address = "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" token_contract = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" callback_url = "https://example.com/webhook" headers = { "Authorization": f"Bearer {auth_token}", "Content-Type": "application/json" } da...
This request checks if a specific cryptocurrency wallet supports certain token types, such as ERC20 and ERC721, for automation tasks like wallet setup or token management.
[POST] https://api.walletservice.com/v1/wallets/tokens/check Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "wallet_id": "0x742d35Cc6634C0532925a3b844Bc454e4438f...
import requests import json url = "https://api.walletservice.com/v1/wallets/tokens/check" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { ...
This request claims a daily reward in a web3 game by sending a POST request to the API with the user's wallet address, chain ID, and reward type.
[POST] https://api.web3game.io/v1/rewards/daily Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmRlZjI4NjI4MjM0IiwiaWF0IjoxNjQyNTk2MDAwfQ.7Vv9W4XK6J6L5N4M3O2N1L0 Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "chainId": 1, "...
import requests import json url = "https://api.web3game.io/v1/rewards/daily" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmRlZjI4NjI4MjM0IiwiaWF0IjoxNjQyNTk2MDAwfQ.7Vv9W4XK6J6L5N4M3O2N1L0", "Content-Type": "application/json" } data = { "walletAddress": "0x7...
This request sends a feedback message with the user's name, email, and message to the API, which can be automated to submit feedback on behalf of a user.
[POST] https://api.example.com/feedback Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "name": "John Doe", "email": "johndoe@example.com", "message": "This is a sample feedback message." }
import requests token = "token123" name = "John Doe" email = "johndoe@example.com" message = "This is a sample feedback message." url = "https://api.example.com/feedback" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "name": name, "email": email, "me...
This request retrieves the status of a specific cryptocurrency transaction identified by its hash on the Bridge API platform.
[GET] https://api.bridge.com/v1/transactions/status Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "tx_hash": "0x1234567890abcdef" }
import requests import json url = "https://api.bridge.com/v1/transactions/status" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "tx_hash": "0x1234567890abcdef" } response = requests.get(url, headers=headers, data=json.dumps(data)) print(response.jso...
This request claims a daily reward in a web3 game for a specific wallet address on a particular blockchain.
[POST] https://api.web3game.io/v1/rewards/daily Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM4MjRmZjI4MjE3IiwiaWF0IjoxNjQyNTk2MDAwfQ.9v2v5v2v5v2v Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "chainId": 1, "rewardType"...
import requests import json url = "https://api.web3game.io/v1/rewards/daily" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM4MjRmZjI4MjE3IiwiaWF0IjoxNjQyNTk2MDAwfQ.9v2v5v2v5v2v", "Content-Type": "application/json" } data = { "walletAddress": "0x742d35Cc6634...
This request creates a new mining session on the MinerQuest platform with specified details for a user with a specific miner ID and hardware configuration.
[POST] https://api.minerquest.io/v1/mining/sessions Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmFmMjM2MzE2IiwiaWF0IjoxNjM5NTk3MjMwfQ.4Hr5T7w6U5V4B3n2 Content-Type: application/json Body: { "minerId": "5ff62af23631", "gameId": "minerquest", "miningPoolId": "mainnet", "hardwa...
import requests import json url = "https://api.minerquest.io/v1/mining/sessions" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmFmMjM2MzE2IiwiaWF0IjoxNjM5NTk3MjMwfQ.4Hr5T7w6U5V4B3n2", "Content-Type": "application/json" } data = { "minerId": "5ff62af23631", ...
This request validates a referral code REF123 by sending a POST request to the API with the provided authorization token and JSON data.
[POST] https://api.example.com/referrals/validate Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "referral_code": "REF123" }
import requests url = "https://api.example.com/referrals/validate" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = {"referral_code": "REF123"} response = requests.post(url, headers=headers, json=data) print(response.text)
This request obtains a new access token by exchanging a refresh token, typically used in automated workflows to refresh authentication credentials without user intervention.
[POST] https://api.example.com/token Headers: Content-Type: application/x-www-form-urlencoded Body: grant_type=refresh_token&refresh_token=rt1234567890abcdef&client_id=client_id_here&client_secret=client_secret_here
import requests client_id = "client_id_here" client_secret = "client_secret_here" refresh_token = "rt1234567890abcdef" response = requests.post( "https://api.example.com/token", headers={"Content-Type": "application/x-www-form-urlencoded"}, data={ "grant_type": "refresh_token", "refresh_to...
This request sends a transaction on the Ethereum blockchain to transfer 0.01 units of cryptocurrency from one wallet address to another with specified gas settings.
[POST] https://api.web3.io/v1/transactions Headers: Authorization: Bearer 0x1234567890abcdef Content-Type: application/json Body: { "from": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "to": "0x55241586d50469745864804697458648046974586", "value": "0.01", "gas": "20000", "gasPrice": "20.0" }
import requests import json url = "https://api.web3.io/v1/transactions" headers = { "Authorization": "Bearer 0x1234567890abcdef", "Content-Type": "application/json" } data = { "from": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "to": "0x55241586d50469745864804697458648046974586", "value": "0.01",...
This request sends a password reset request to the API for the user with the specified email address.
[POST] https://api.example.com/auth/password-reset Headers: Content-Type: application/json Body: { "email": "user@example.com" }
import requests url = "https://api.example.com/auth/password-reset" headers = {"Content-Type": "application/json"} data = {"email": "user@example.com"} response = requests.post(url, headers=headers, json=data) print(response.text)
This request sends a private message saying "Hello, how are you?" to a user with ID 123 on a messaging platform.
[POST] https://api.example.com/messages/private Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "recipient_id": 123, "message": "Hello, how are you?" }
import requests url = "https://api.example.com/messages/private" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "recipient_id": 123, "message": "Hello, how are you?" } response = requests.post(url, headers=headers, json=data) print(response.text)
This request sends a support contact form with the user's details and a message to the API, mimicking a user submitting a support inquiry about their order.
[POST] https://api.example.com/support/contact Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "name": "John Doe", "email": "johndoe@example.com", "phone": "123-456-7890", "message": "Hello, I need help with my order.", "subject": "Order Inquiry" }
import requests url = "https://api.example.com/support/contact" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "name": "John Doe", "email": "johndoe@example.com", "phone": "123-456-7890", "message": "Hello, I need help with my order.", ...
This request sends a transaction of 0.01 ETH from one Ethereum wallet to another with a specified gas limit and price using the Web3 API.
[POST] https://api.web3.io/eth/transactions Headers: Authorization: Bearer 0x1234567890abcdef Content-Type: application/json Body: { "from": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "to": "0x55241586d50469745864804697458648046974586", "value": "0.01", "gas": "20000", "gasPrice": "20.0" }
import requests import json url = "https://api.web3.io/eth/transactions" headers = { "Authorization": "Bearer 0x1234567890abcdef", "Content-Type": "application/json" } data = { "from": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "to": "0x55241586d50469745864804697458648046974586", "value": "0.01"...
This request sends a feedback message with the user's name, email, and message to the API, which can be used to automate submitting customer feedback on a website.
[POST] https://api.example.com/feedback Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "name": "John Doe", "email": "johndoe@example.com", "message": "This is a sample feedback message." }
import requests token = "token123" url = "https://api.example.com/feedback" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "name": "John Doe", "email": "johndoe@example.com", "message": "This is a sample feedback message." } response = requests.post(u...
This request creates a new account on the example.com platform with the specified username, email, and password.
[POST] https://api.example.com/v1/accounts Headers: Content-Type: application/json Body: { "username": "johnDoe", "email": "johndoe@example.com", "password": "mysecretpassword" }
import requests import json url = "https://api.example.com/v1/accounts" headers = {"Content-Type": "application/json"} data = {"username": "johnDoe", "email": "johndoe@example.com", "password": "mysecretpassword"} response = requests.post(url, headers=headers, data=json.dumps(data)) print(response.text)
This request creates a new user referral with the code REF123 on the example.com platform.
[POST] https://api.example.com/v1/users/referrals Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "referral_code": "REF123" }
import requests url = "https://api.example.com/v1/users/referrals" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = {"referral_code": "REF123...
This request claims an airdrop reward by submitting a wallet address, airdrop ID, and signature to the API, allowing users to automate the process of collecting cryptocurrency rewards.
[POST] https://api.airdrop.example.com/v1/claim Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YzI5NGRiMDAwMjIyZjIiLCJpc3MiOiJhaXJkcG9pbnRzIiwiZXhwIjoxNjQyNTk2MDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "walletAddress": "0x742d35...
import requests import json url = "https://api.airdrop.example.com/v1/claim" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YzI5NGRiMDAwMjIyZjIiLCJpc3MiOiJhaXJkcG9pbnRzIiwiZXhwIjoxNjQyNTk2MDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "ap...
This request creates a new mining session on MinerQuest with a specified miner configuration, algorithm, and difficulty level, allowing users to automate their cryptocurrency mining processes.
[POST] https://api.minerquest.com/v1/mining/sessions Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MzA1MjIzNDM4IiwiaWF0IjoxNjM3NTk2MDAwfQ.7Vv9WKPj5R4E1nl0 Content-Type: application/json Body: { "minerId": "5ff9305223438", "gameId": "minerquest", "minerConfig": { "algorithm": "s...
import requests import json url = "https://api.minerquest.com/v1/mining/sessions" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MzA1MjIzNDM4IiwiaWF0IjoxNjM3NTk2MDAwfQ.7Vv9WKPj5R4E1nl0", "Content-Type": "application/json" } data = { "minerId": "5ff9305223438",...
This request validates a referral code REF12345 by sending it to the API endpoint to check its authenticity.
[POST] https://api.example.com/referrals/validate Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "referral_code": "REF12345" }
import requests url = "https://api.example.com/referrals/validate" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = {"referral_code": "REF123...
This request obtains a new access token by exchanging a refresh token, typically used in automated scripts to maintain authenticated sessions.
[POST] https://api.example.com/token Headers: Content-Type: application/x-www-form-urlencoded Body: { "grant_type": "refresh_token", "refresh_token": "rt1234567890" }
import requests url = "https://api.example.com/token" headers = {"Content-Type": "application/x-www-form-urlencoded"} data = {"grant_type": "refresh_token", "refresh_token": "rt1234567890"} response = requests.post(url, headers=headers, data=data) print(response.json())
This request bridges 100.0 units of a specific token from the testnet to the mainnet for a particular user.
[POST] https://api.bridge.dapp.io/v1/bridge Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MmRlZjIwIiwiaWF0IjoxNjQyNTk2NTk3fQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "fromChain": "testnet", "toChain": "mainnet", "tokenAddress": "0x742d3...
import requests import json url = "https://api.bridge.dapp.io/v1/bridge" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MmRlZjIwIiwiaWF0IjoxNjQyNTk2NTk3fQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "fromChain": ...
This request creates a new user account on the example.com platform with the specified username, email, and password.
[POST] https://api.example.com/users/register Headers: Content-Type: application/json Body: { "username": "johnDoe", "email": "johndoe@example.com", "password": "mysecretpassword" }
import requests import json url = "https://api.example.com/users/register" headers = {"Content-Type": "application/json"} data = {"username": "johnDoe", "email": "johndoe@example.com", "password": "mysecretpassword"} response = requests.post(url, headers=headers, data=json.dumps(data)) print(response.text)
This request submits a new bug report to the bug tracker API with detailed information about an error encountered while saving a document.
[POST] https://api.bugtracker.io/v1/reports Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "title": "Error when saving document", "description": "When I try to s...
import requests url = "https://api.bugtracker.io/v1/reports" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "title": "Error when savi...
This request sends a feedback message with the user's name, email, and message to the API using a bearer token for authentication.
[POST] https://api.example.com/feedback Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "name": "John Doe", "email": "johndoe@example.com", "message": "This is my feedback message." }
import requests token = "token123" url = "https://api.example.com/feedback" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "name": "John Doe", "email": "johndoe@example.com", "message": "This is my feedback message." } response = requests.post(url, he...
This request obtains a new access token by exchanging a valid refresh token, typically used in automated workflows to maintain authenticated sessions.
[POST] https://api.example.com/token Headers: Content-Type: application/x-www-form-urlencoded Body: { "grant_type": "refresh_token", "refresh_token": "rt1234567890" }
import requests url = "https://api.example.com/token" headers = {"Content-Type": "application/x-www-form-urlencoded"} data = {"grant_type": "refresh_token", "refresh_token": "rt1234567890"} response = requests.post(url, headers=headers, data=data) print(response.json())
This request claims a reward using the provided referral code RFRL1234 on behalf of the authorized user.
[POST] https://api.referral.example.com/v1/rewards/claim Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "referral_code": "RFRL1234" }
import requests url = "https://api.referral.example.com/v1/rewards/claim" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = {"referral_code": ...
This request retrieves the balance of a specific Ethereum wallet address from the testnet faucet API.
[GET] https://api.testnet.example.io/faucet/balance Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" }
import requests url = "https://api.testnet.example.io/faucet/balance" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } body = {"address": "0x742d35C...
This request checks the availability of ERC20 and ERC721 tokens in a specific Ethereum wallet since a certain block number, allowing users to automate token tracking and monitoring tasks.
[POST] https://api.walletservice.com/v1/wallets/tokens/check Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "wallet_id": "0x742d35Cc6634C0532925a3b844Bc454e4438f...
import requests import json url = "https://api.walletservice.com/v1/wallets/tokens/check" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { ...
This request sends a private message with the text "Hello, how are you?" to a user with the ID 123 on a messaging platform.
[POST] https://api.example.com/messages/private Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "recipient_id": 123, "message": "Hello, how are you?", "attachments": [] }
import requests headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "recipient_id": 123, "message": "Hello, how are you?", "attachments": [] } response = requests.post("https://api.example.com/messages/private", headers=headers, json=data) print(...
This request sends a private message saying "Hello, how are you?" to a specific user identified by the recipient_id on a messaging platform.
[POST] https://api.example.com/messages/private Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MmRlZjIwIiwiaWF0IjoxNjA2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "recipient_id": "5ff923df200", "message": "Hello, how are you?" }
import requests url = "https://api.example.com/messages/private" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MmRlZjIwIiwiaWF0IjoxNjA2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "recipient_id": "5ff9...
This request sends a private message with the content "Hello, how are you?" to a user with the ID "5ff62c5c2222" on a messaging platform.
[POST] https://api.example.com/messages/private Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YzIyMjIyIiwiaWF0IjoxNjM3NTk2MzgwLCJleHAiOjE2MzgxMjQzODAsInN1YiI6IjVmZjYyYzVjMjIyMiJ9.kRQ6u6U3Sxq6pA Content-Type: application/json Body: { "recipient_id": "5ff62c5c2222", "content"...
import requests url = "https://api.example.com/messages/private" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YzIyMjIyIiwiaWF0IjoxNjM3NTk2MzgwLCJleHAiOjE2MzgxMjQzODAsInN1YiI6IjVmZjYyYzVjMjIyMiJ9.kRQ6u6U3Sxq6pA", "Content-Type": "application/json" } data = { ...
This request refreshes an expired authentication token by sending a refresh token to obtain a new valid token.
[POST] https://api.example.com/token/refresh Headers: Authorization: Bearer expired_token Content-Type: application/json Body: { "grant_type": "refresh_token", "refresh_token": "refresh_token_value" }
import requests expired_token = "your_expired_token" refresh_token = "your_refresh_token" headers = { "Authorization": f"Bearer {expired_token}", "Content-Type": "application/json" } data = { "grant_type": "refresh_token", "refresh_token": refresh_token } response = requests.post("https://api.exampl...
This request claims a referral reward on the example.com platform using the provided referral code RF123456.
[POST] https://api.example.com/referrals/rewards/claim Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "referral_code": "RF123456" }
import requests url = "https://api.example.com/referrals/rewards/claim" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = {"referral_code": "R...
This request sends a challenge message from PlayerX to user 12345 for game 1111 on the GameZone platform.
[POST] https://api.gamezone.com/v1/users/12345/messages Headers: Authorization: Bearer 9f86d081884c7d659a2feaa0c55ad Content-Type: application/json Body: { "message": "You have been challenged by PlayerX!", "sender_id": 67890, "game_id": 1111 }
import requests url = "https://api.gamezone.com/v1/users/12345/messages" headers = { "Authorization": "Bearer 9f86d081884c7d659a2feaa0c55ad", "Content-Type": "application/json" } data = { "message": "You have been challenged by PlayerX!", "sender_id": 67890, "game_id": 1111 } response = requests.p...
This request validates a referral code REF12345 by sending a POST request to the API with the provided authorization token and JSON data.
[POST] https://api.example.com/referrals/validate Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "referral_code": "REF12345" }
import requests url = "https://api.example.com/referrals/validate" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = {"referral_code": "REF123...
This request claims cryptocurrency faucet rewards for a specific Ethereum wallet address after checking the cooldown period.
[GET] https://api.crypto.com/faucet/claim/cooldown Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" }
import requests import json url = "https://api.crypto.com/faucet/claim/cooldown" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" } response = requests.get(url, headers=headers, data=json.dumps(dat...
This request retrieves the cooldown status for claiming cryptocurrency faucet rewards associated with a specific Ethereum wallet address.
[GET] https://api.crypto.com/faucet/claim/cooldown Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" }
import requests import json url = "https://api.crypto.com/faucet/claim/cooldown" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } body = { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" } response = requests.get(url, headers=headers, json=body) print(r...
This request sends a personalized message to a specific user with ID 12345 in a game with ID 1 on the Gamezone platform.
[POST] https://api.gamezone.com/messages Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "recipient_id": 12345, "message": "Hello, how's it going?", "game_id": 1 }
import requests url = "https://api.gamezone.com/messages" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "recipient_id": 12345, "message": "Hello, how's it going?", "game_id": 1 } response = requests.post(url, headers=headers, json=data) prin...
This request claims an airdrop reward by submitting a user's wallet address, airdrop ID, and signature to the API.
[POST] https://api.airdrop.example.com/v1/claim Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YjI4NjE1MjMwIiwiaWF0IjoxNjQyMzkwMDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f4...
import requests import json url = "https://api.airdrop.example.com/v1/claim" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YjI4NjE1MjMwIiwiaWF0IjoxNjQyMzkwMDAwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "...
This request checks the availability of ERC20 and ERC721 tokens in a specific Ethereum wallet address using an authorized API call.
[POST] https://api.wallet.example.com/check-tokens Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "wallet_address": "0x1234567890abcdef", "token_types": ["ERC20", "ERC721"] }
import requests import json url = "https://api.wallet.example.com/check-tokens" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "wallet_address": "0x1234567890abcdef", "token_types": ["ERC20", "ERC721"] } response = requests.post(url, headers=heade...
This request sends a POST request to the faucet service to request 1.0 units of Ethereum on the Goerli network to be sent to the specified wallet address, 0x742d35Cc6634C0532925a3b844Bc454e4438f44e.
[POST] https://faucet.example.io/eth Headers: Authorization: Bearer faucet-access-token Content-Type: application/json Body: { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "amount": "1.0", "network": "goerli" }
import requests faucet_access_token = "your_faucet_access_token" address = "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" amount = "1.0" network = "goerli" headers = { "Authorization": f"Bearer {faucet_access_token}", "Content-Type": "application/json" } data = { "address": address, "amount": amount, ...
This request sends a POST request to a faucet API to request testnet cryptocurrency funds to be sent to a specified wallet address.
[POST] https://api.testnet.example.com/v1/faucet Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" }
import requests url = "https://api.testnet.example.com/v1/faucet" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" } response = requests.post(url, headers=headers, json=data) print(response....
This request initiates a password reset process by sending an email with reset instructions to the specified user account.
[POST] https://api.example.com/auth/password-reset Headers: Content-Type: application/json Body: { "email": "user@example.com" }
import requests url = "https://api.example.com/auth/password-reset" headers = {"Content-Type": "application/json"} data = {"email": "user@example.com"} response = requests.post(url, headers=headers, json=data) print(response.status_code) print(response.text)
This request claims a specific reward on the airdrop platform by submitting the user's wallet address, reward ID, and signature for verification.
[POST] https://api.airdrop.example.com/v1/rewards/claim Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YzI5NGRiMDAwMTIiLCJpYXQiOjE2MzkwNTk2MDB9.rQJLQmB7OaTjR_XYPJpM Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "rewardI...
import requests import json url = "https://api.airdrop.example.com/v1/rewards/claim" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM1YzI5NGRiMDAwMTIiLCJpYXQiOjE2MzkwNTk2MDB9.rQJLQmB7OaTjR_XYPJpM", "Content-Type": "application/json" } data = { "walletAddress...
This request checks for new tokens associated with a specific Ethereum wallet address on the mainnet chain.
[POST] https://api.wallet.example.com/check-new-tokens Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MzA3MjIyZjEzMDAwMCIsImlhdCI6MTYzNTk3NTk1MX0.VQvz2hQsBjrnfX1A Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "chainId": 1 }
import requests import json url = "https://api.wallet.example.com/check-new-tokens" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY5MzA3MjIyZjEzMDAwMCIsImlhdCI6MTYzNTk3NTk1MX0.VQvz2hQsBjrnfX1A", "Content-Type": "application/json" } data = { "walletAddress": "0x...
This request checks the token balance of a specific Ethereum wallet address using the provided API token for authentication.
[POST] https://api.walletservice.com/v1/wallet/tokens/check Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "wallet_address": "0x742d35Cc6634C0532925a3b844Bc454e4...
import requests api_token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" wallet_address = "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" blockchain = "ethereum" headers = { "Authorization": f"Bearer {api_token}", "Conte...
This request sets up a wallet monitor to track a specific cryptocurrency wallet and token, sending updates to a designated webhook URL.
[POST] https://api.walletmonitor.io/v1/watch Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "wallet_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "token_contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "callback_url": "https://example.com/webhook" }
import requests url = "https://api.walletmonitor.io/v1/watch" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "wallet_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "token_contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "callba...
This request sends a password reset request to the API for the specified email address, allowing automation of password recovery processes.
[POST] https://api.example.com/auth/password-reset Headers: Content-Type: application/json Body: { "email": "user@example.com" }
import requests email = "user@example.com" url = "https://api.example.com/auth/password-reset" headers = {"Content-Type": "application/json"} data = {"email": email} response = requests.post(url, headers=headers, json=data) print(response.text)
This request validates a referral code REF123 by sending it to the API endpoint to check its authenticity.
[POST] https://api.example.com/referrals/validate Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "referral_code": "REF123" }
import requests url = "https://api.example.com/referrals/validate" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = {"referral_code": "REF123...
This request claims a reward using the referral code RFRL123456 on behalf of the authorized user.
[POST] https://api.referral.example.com/v1/rewards/claim Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ Content-Type: application/json Body: { "referral_code": "RFRL123456" }
import requests url = "https://api.referral.example.com/v1/rewards/claim" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ", "Content-Type": "application/json" } data = {"referral_code": "RFRL123456"} response = requests.post(url,...
This request sends a referral code to the API to redeem rewards or benefits associated with the provided code.
[POST] https://api.example.com/v1/users/referral Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "referral_code": "REF12345" }
import requests url = "https://api.example.com/v1/users/referral" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = {"referral_code": "REF1234...
This request validates a referral code REF12345 by sending it to the API to check its authenticity.
[POST] https://api.example.com/referrals/validate Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "referral_code": "REF12345" }
import requests url = "https://api.example.com/referrals/validate" headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = {"referral_code": "REF12345"} response = requests.post(url, headers=headers, json=data) print(response.text)
This request posts a public comment as user JohnDoe to a discussion with ID 123 on a platform using the provided authentication token.
POST https://api.example.com/discussions/123/comments Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "text": "This is a public comment", "username": "JohnDoe", "discussion_id": 123 }
import requests token = "token123" discussion_id = 123 username = "JohnDoe" comment_text = "This is a public comment" url = f"https://api.example.com/discussions/{discussion_id}/comments" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "text": comment_text, ...
This request sends a request to a faucet service to transfer 1.0 units of Ethereum to the specified wallet address, authenticated with a provided token.
POST https://faucet.example.com/eth Headers: Authorization: Bearer faucet_token Content-Type: application/json Body: { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "amount": "1.0" }
import requests faucet_token = "your_faucet_token" wallet_address = "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" amount = "1.0" headers = { "Authorization": f"Bearer {faucet_token}", "Content-Type": "application/json" } data = { "address": wallet_address, "amount": amount } response = requests.post(...
This request sends a request to a faucet service to transfer 0.1 ETH to a specified Ethereum address, likely for testing or development purposes.
POST https://faucet.example.com/request-eth Headers: Authorization: Bearer faucet-token Content-Type: application/json Body: { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "amount": "0.1" }
import requests import json faucet_token = "your_faucet_token" address = "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" amount = "0.1" headers = { "Authorization": f"Bearer {faucet_token}", "Content-Type": "application/json" } data = { "address": address, "amount": amount } response = requests.post("h...
This request sends a custom message to a specific user in a game on a platform, allowing automation of personalized communication or notifications.
POST https://api.example.com/messages Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "recipient_id": 123, "message": "Hello, how are you?", "game_id": 456 }
import requests token = "token123" recipient_id = 123 message = "Hello, how are you?" game_id = 456 url = "https://api.example.com/messages" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "recipient_id": recipient_id, "message": message, "game_id": ga...
This request bridges 100.0 units of a specific token from the testnet to the mainnet for a particular user.
POST https://api.bridge.example.com/v1/bridge Headers: Authorization: Bearer 1234567890abcdef Content-Type: application/json Body: { "from_chain": "testnet", "to_chain": "mainnet", "token_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "amount": "100.0", "user_address": "0x55241586d50469745864804697458648046974...
import requests headers = { "Authorization": "Bearer 1234567890abcdef", "Content-Type": "application/json" } data = { "from_chain": "testnet", "to_chain": "mainnet", "token_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "amount": "100.0", "user_address": "0x55241586d50469745864804...
This request approves a token transaction on the Ethereum blockchain, sending a specified amount of tokens from the sender's address to the receiver's address.
POST https://api.bridge.example.com/v1/token/approve Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "tokenAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",...
import requests import json url = "https://api.bridge.example.com/v1/token/approve" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "t...
This request sends a personalized greeting message to a specific user with the ID 123 through the example.com messaging API.
POST https://api.example.com/messages Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "recipient_id": 123, "message": "Hello, how are you?" }
import requests token = "token123" recipient_id = 123 message = "Hello, how are you?" url = "https://api.example.com/messages" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "recipient_id": recipient_id, "message": message } response = requests.post(url,...
This request bridges 100.0 units of a specific token from the testnet to the mainnet for a user with the specified address.
POST https://api.bridge.dapp.io/v1/bridge Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "from_chain": "testnet", "to_chain": "mainnet", "token_address": "0x742d...
import requests url = "https://api.bridge.dapp.io/v1/bridge" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "from_chain": "testnet", ...
This request refreshes an expired authentication token by sending a refresh token to obtain a new access token.
POST https://api.example.com/token/refresh Headers: Authorization: Bearer expired_token Content-Type: application/json Body: { "grant_type": "refresh_token", "refresh_token": "refresh_token_value" }
import requests import json expired_token = "your_expired_token" refresh_token_value = "your_refresh_token_value" headers = { "Authorization": f"Bearer {expired_token}", "Content-Type": "application/json" } data = { "grant_type": "refresh_token", "refresh_token": refresh_token_value } response = req...
This request registers a new cryptocurrency wallet with the specified address on the testnet example API using the provided authorization token.
POST https://api.testnet.example.com/wallet/register Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "wallet_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" }
import requests token = "token123" wallet_address = "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" url = "https://api.testnet.example.com/wallet/register" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "wallet_address": wallet_address } response = requests.po...
This request claims a referral reward on a website by submitting a referral code using an authorized API token.
POST https://api.example.com/referrals/rewards/claim Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "referral_code": "REFERRAL123" }
import requests token = "token123" referral_code = "REFERRAL123" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = {"referral_code": referral_code} response = requests.post("https://api.example.com/referrals/rewards/claim", headers=headers, json=data) print(respons...
This request sends a referral code to the API to redeem a referral reward or incentive, likely as part of an automated user task to claim benefits or bonuses.
POST https://api.example.com/users/referrals Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "referral_code": "REF123456" }
import requests token = "token123" referral_code = "REF123456" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "referral_code": referral_code } response = requests.post("https://api.example.com/users/referrals", headers=headers, json=data) print(response.te...
This request claims a specific airdrop reward for a user by submitting their wallet address, reward ID, and signature to the API.
POST https://api.airdrop.example.com/v1/rewards/claim Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmRlZjg4MjQ1MjM4IiwiaWF0IjoxNjM5MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e...
import requests import json url = "https://api.airdrop.example.com/v1/rewards/claim" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmRlZjg4MjQ1MjM4IiwiaWF0IjoxNjM5MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data =...
This request sends a support contact form with user details and a message to the API, which can be used to automate submitting a support ticket on behalf of a user.
POST https://api.example.com/support/contact Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "name": "John Doe", "email": "johndoe@example.com", "phone": "123-456-7890", "message": "Hello, I need help with my order." }
import requests token = "token123" url = "https://api.example.com/support/contact" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "name": "John Doe", "email": "johndoe@example.com", "phone": "123-456-7890", "message": "Hello, I need help with my or...
This request claims a daily reward in a web3 game for a specific wallet address on the Ethereum blockchain.
POST https://api.web3game.io/rewards/daily Headers: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM4MjI5OTM3IiwiaWF0IjoxNjQyNTk3NTIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "rew...
import requests import json url = "https://api.web3game.io/rewards/daily" headers = { "Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI1ZmY2MmM4MjI5OTM3IiwiaWF0IjoxNjQyNTk3NTIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = { "walletA...
This request retrieves a new token from the wallet API using the provided authorization token.
GET https://api.example.com/wallet/tokens/new Headers: Authorization: Bearer token123 Content-Type: application/json
import requests token = "token123" url = "https://api.example.com/wallet/tokens/new" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } response = requests.get(url, headers=headers) print(response.text)
This request submits a new bug report to the API with details of an error encountered while saving a document in Chrome on Windows 10.
POST https://api.example.com/v1/bug-reports Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "title": "Error when saving document", "description": "When I try to save a document, I get a 500 error", "steps_to_reproduce": "1. Open a document, 2. Make some changes, 3. Click save", "expected_...
import requests token = "token123" url = "https://api.example.com/v1/bug-reports" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "title": "Error when saving document", "description": "When I try to save a document, I get a 500 error", "steps_to_reprodu...
This request sends a request to a faucet service to transfer 1.0 test ETH to a specified Ethereum address, likely for testing or development purposes.
POST https://faucet.example.com/request-test-eth Headers: Authorization: Bearer faucet-access-token Content-Type: application/json Body: { "address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e", "amount": "1.0" }
import requests faucet_access_token = "your_faucet_access_token" address = "0x742d35Cc6634C0532925a3b844Bc454e4438f44e" amount = "1.0" headers = { "Authorization": f"Bearer {faucet_access_token}", "Content-Type": "application/json" } data = { "address": address, "amount": amount } response = request...
This request validates a referral code REF123456 by sending it to the API endpoint at api.example.com/referrals/validate using a Bearer token for authentication.
POST https://api.example.com/referrals/validate Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "referral_code": "REF123456" }
import requests token = "token123" referral_code = "REF123456" url = "https://api.example.com/referrals/validate" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "referral_code": referral_code } response = requests.post(url, headers=headers, json=data) prin...
This request initiates a cryptocurrency swap transaction on the Web3Swap platform, exchanging a specified amount of one token for another with defined slippage and gas parameters.
POST https://api.web3swap.com/v1/swap Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "tokenA": "0x1234567890abcdef", "tokenB": "0xfedcba9876543210", "amount": "1.0", "slippage": "0.5", "deadline": "1643723400", "gasPrice": "20.0", "gasLimit": "200000" }
import requests import json url = "https://api.web3swap.com/v1/swap" headers = { "Authorization": "Bearer token123", "Content-Type": "application/json" } data = { "tokenA": "0x1234567890abcdef", "tokenB": "0xfedcba9876543210", "amount": "1.0", "slippage": "0.5", "deadline": "1643723400", ...
This request validates a referral code REF123456 by sending it to the API with a valid authentication token to check its legitimacy.
POST https://api.example.com/referrals/validate Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "referral_code": "REF123456" }
import requests token = "token123" referral_code = "REF123456" url = "https://api.example.com/referrals/validate" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = {"referral_code": referral_code} response = requests.post(url, headers=headers, json=data) print(respo...
This request validates a referral code REF12345 by sending it to the API endpoint to check its authenticity.
POST https://api.example.com/referrals/validate Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "referral_code": "REF12345" }
import requests token = "token123" referral_code = "REF12345" url = "https://api.example.com/referrals/validate" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = {"referral_code": referral_code} response = requests.post(url, headers=headers, json=data) print(respo...
This request claims a referral reward on a website using a specific referral code and a valid authentication token.
POST https://api.example.com/referrals/rewards/claim Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "referral_code": "REFERRALCODE123" }
import requests token = "token123" referral_code = "REFERRALCODE123" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "referral_code": referral_code } response = requests.post("https://api.example.com/referrals/rewards/claim", headers=headers, json=data) pri...
This request retrieves the status of a specific transaction identified by its hash on the Bridge API platform.
GET https://api.bridge.com/v1/transactions/status Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "tx_hash": "0x1234567890abcdef" }
import requests token = "token123" tx_hash = "0x1234567890abcdef" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "tx_hash": tx_hash } response = requests.get("https://api.bridge.com/v1/transactions/status", headers=headers, json=data) print(response.json()...
This request creates a new referral with the code REF123456 for the user with ID 12345 on the example.com platform.
POST https://api.example.com/referrals Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "referral_code": "REF123456", "user_id": 12345 }
import requests token = "token123" url = "https://api.example.com/referrals" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "referral_code": "REF123456", "user_id": 12345 } response = requests.post(url, headers=headers, json=data) print(response.text)
This request sends a password reset request to the API for the user with the email address user@example.com.
POST https://api.example.com/auth/password-reset Headers: Content-Type: application/json Body: { "email": "user@example.com" }
import requests url = "https://api.example.com/auth/password-reset" headers = {"Content-Type": "application/json"} data = {"email": "user@example.com"} response = requests.post(url, headers=headers, json=data) print(response.text)
This request sends a message with the text "Hello, world!" to a recipient with the ID 123 using the authenticated session.
POST https://api.example.com/messages Headers: Cookie: session_id=1234567890abcdef Content-Type: application/json Body: { "text": "Hello, world!", "recipient_id": 123 }
import requests url = "https://api.example.com/messages" headers = { "Cookie": "session_id=1234567890abcdef", "Content-Type": "application/json" } data = { "text": "Hello, world!", "recipient_id": 123 } response = requests.post(url, headers=headers, json=data) print(response.text)
This request analyzes a specific cryptocurrency transaction by sending its ID and payload to the API server for processing.
POST https://api.example.com/transactions/analyze Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "transaction_id": "0x1234567890abcdef", "payload": "0xabcdef1234567890" }
import requests token = "token123" transaction_id = "0x1234567890abcdef" payload = "0xabcdef1234567890" url = "https://api.example.com/transactions/analyze" headers = { "Authorization": f"Bearer {token}", "Content-Type": "application/json" } data = { "transaction_id": transaction_id, "payload": payloa...
This request updates a user's account preferences to use a dark theme and English language on a website that requires a valid session cookie.
POST https://api.example.com/users/me/preferences Headers: Cookie: session_id=abcdefg1234567890 Content-Type: application/json Body: { "theme": "dark", "lang": "en" }
import requests url = "https://api.example.com/users/me/preferences" headers = { "Cookie": "session_id=abcdefg1234567890", "Content-Type": "application/json" } data = {"theme": "dark", "lang": "en"} response = requests.post(url, headers=headers, json=data) print(response.text)
This request checks the availability of ERC20 and ERC721 tokens associated with a specific Ethereum wallet address.
POST https://api.wallet.com/check-tokens Headers: Authorization: Bearer token123 Content-Type: application/json Body: { "wallet_address": "0x1234567890abcdef", "token_types": ["ERC20", "ERC721"] }
import requests import json url = "https://api.wallet.com/check-tokens" headers = { "Authorization": "Bearer token123", "Content-Type": "application/json" } data = { "wallet_address": "0x1234567890abcdef", "token_types": ["ERC20", "ERC721"] } response = requests.post(url, headers=headers, data=json.du...
This request retrieves the current balance of a faucet account on the testnet API, authenticated with a Bearer token faucet123.
GET https://api.testnet.example.com/faucet/balance Headers: Authorization: Bearer faucet123 Content-Type: application/json
import requests url = "https://api.testnet.example.com/faucet/balance" headers = { "Authorization": "Bearer faucet123", "Content-Type": "application/json" } response = requests.get(url, headers=headers) print(response.json())
This request updates the user's preferences to use a dark theme and English language on the website.
POST https://api.example.com/users/me/preferences Headers: Cookie: session_id=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Content-Type: application/json Body: { "theme": "dark", "language": "en" }
import requests import json url = "https://api.example.com/users/me/preferences" headers = { "Cookie": "session_id=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaGFuIjoiMjMwfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Type": "application/json" } data = {"theme": "dar...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4