File size: 350 Bytes
652f343
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { videoId, server } from "./config.mts"

console.log(`checking status of video ${videoId}`)
const response = await fetch(`${server}/${videoId}`, {
  method: "GET",
  headers: {
    "Accept": "application/json",
  }
});

console.log('response:', response)
const task = await response.json()

console.log("task:", JSON.stringify(task, null, 2))