-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
const res = await fetch(jsonService)
case (res) {
when {status: 200, headers: {'Content-Length': s}} ->
console.log(`size is ${s}`),
when {status: 404} ->
console.log('JSON not found'),
when {status} if (status >= 400) -> {
throw new RequestError(res)
},
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels