Lines Matching refs:response
30 const response = await fetch('https://api.github.com/repos/expo/examples/contents'); constant
31 if (!response.ok) {
35 const data: GithubContent[] = await response.json();
41 const response = await fetch( constant
46 if (response.status === 404 || response.ok) {
47 return response.ok;
50 throw new Error(`Unexpected GitHub API response: ${response.status} - ${response.statusText}`);
89 const response = await fetch('https://codeload.github.com/expo/examples/tar.gz/master'); constant
90 if (!response.ok) {
91 debug(`Failed to fetch the examples code, received status "${response.status}"`);
96 response.body,