Developer Proxy & Testing Portal
Verify your LINE Bot credentials by sending a test message directly through the webhook proxy.
Trigger notifications from your application (such as TeamWork) by making a POST request to this proxy endpoint.
curl -X POST http://localhost:5000/api/webhook/send \
-H "Content-Type: application/json" \
-d '{
"channelAccessToken": "YOUR_CHANNEL_ACCESS_TOKEN",
"groupId": "YOUR_LINE_GROUP_ID",
"message": "Hello from TeamWork Project! 🔔"
}'
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
public async Task SendLineNotificationAsync()
{
using var client = new HttpClient();
var payload = new
{
channelAccessToken = "YOUR_LINE_ACCESS_TOKEN",
groupId = "YOUR_LINE_GROUP_ID",
message = "แจ้งเตือนงานใหม่ในระบบ TeamWork!"
};
var content = new StringContent(
JsonSerializer.Serialize(payload),
Encoding.UTF8,
"application/json"
);
var response = await client.PostAsync("http://localhost:5000/api/webhook/send", content);
var resultStr = await response.Content.ReadAsStringAsync();
// Process response...
}
const payload = {
channelAccessToken: 'YOUR_LINE_ACCESS_TOKEN',
groupId: 'YOUR_LINE_GROUP_ID',
message: '🔔 มีข้อความแจ้งเตือนจากระบบ!'
};
fetch('http://localhost:5000/api/webhook/send', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(res => res.json())
.then(data => console.log('Response:', data))
.catch(err => console.error('Error:', err));
History of transactions processed by this webhook proxy server in the current run.
| Time | Target Group | Message Preview | Status | Details |
|---|---|---|---|---|
|
No logs available yet. Try sending a notification. |
||||