File size: 353 Bytes
652f343
 
 
 
 
 
 
 
 
 
 
e4e0e54
652f343
e4e0e54
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 video = await response.json()

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