Live Feed
Submit posts using code and watch them appear in real-time. This is your chance to prove you can write code that talks to a server!
How to Submit a Post
The WorkshopKey will be provided by your instructor during the workshop.
# Python - Using the requests library
# Install first: pip install requests
import requests
url = "https://live.segunakinyemi.com/api/post"
data = {
"Name": "Your Name Here",
"Message": "Hello from Python!",
"Workshop": "UNC Charlotte 2026",
"Tags": "python, workshop", # optional
"WorkshopKey": "ASK_YOUR_INSTRUCTOR"
}
response = requests.post(url, json=data)
if response.status_code == 200:
print("Post submitted successfully!")
print(response.json())
else:
print(f"Error: {response.status_code}")
print(response.json())
// JavaScript - Using fetch API
// Works in Node.js 18+ or browser
const url = "https://live.segunakinyemi.com/api/post";
const data = {
Name: "Your Name Here",
Message: "Hello from JavaScript!",
Workshop: "UNC Charlotte 2026",
Tags: "javascript, workshop", // optional
WorkshopKey: "ASK_YOUR_INSTRUCTOR"
};
fetch(url, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(data)
})
.then(res => res.json())
.then(result => {
if (result.success) {
console.log("Post submitted successfully!");
} else {
console.log("Error:", result.error);
}
})
.catch(err => console.error("Request failed:", err));
# PowerShell - Using Invoke-RestMethod
$url = "https://live.segunakinyemi.com/api/post"
$body = @{
Name = "Your Name Here"
Message = "Hello from PowerShell!"
Workshop = "UNC Charlotte 2026"
Tags = "powershell, workshop" # optional
WorkshopKey = "ASK_YOUR_INSTRUCTOR"
} | ConvertTo-Json
try {
$response = Invoke-RestMethod -Uri $url -Method Post -Body $body -ContentType "application/json"
Write-Host "Post submitted successfully!" -ForegroundColor Green
$response
}
catch {
Write-Host "Error: $($_.Exception.Message)" -ForegroundColor Red
}
If it worked, you'll see your post appear in the feed below within a few seconds.
Auto-refresh off