Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/?q=fetch&page=419&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=fetch

Returns an array of strings in format "username" or "username/projectName"

Found 8238 results for "fetch"(890ms)

relaxedRosePerchmain.tsx1 match

@kmaisolutions•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

cerebras_codermain.tsx1 match

@kmaisolutions•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

cerebras_codermain.tsx1 match

@drrcoder765•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

brilliantChocolateElkmain.tsx1 match

@sh66n•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

cerebras_codermain.tsx1 match

@sh66n•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

cerebras_codermain.tsx1 match

@nopatad188•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

birthdayAlertsAppmain.tsx7 matches

@abidiqrar•Updated 3 months ago
9
10 useEffect(() => {
11 fetchBirthdays();
12 }, []);
13
14 const fetchBirthdays = async () => {
15 const response = await fetch('/birthdays');
16 const data = await response.json();
17 setBirthdays(data);
20 const handleSubmit = async (e) => {
21 e.preventDefault();
22 await fetch('/birthdays', {
23 method: 'POST',
24 headers: { 'Content-Type': 'application/json' },
27 setName('');
28 setDate('');
29 fetchBirthdays();
30 };
31
32 const deleteBirthday = async (id) => {
33 await fetch(`/birthdays/${id}`, { method: 'DELETE' });
34 fetchBirthdays();
35 };
36
19
20 try {
21 const response = await fetch(url, options);
22 const data = await response.json();
23 console.log({ data });

proudMagentaTurtlemain.tsx1 match

@Murtaza•Updated 3 months ago
74 formData.append('size', size);
75
76 const response = await fetch('/crop', {
77 method: 'POST',
78 body: formData

dynamicLavenderBeetlemain.tsx1 match

@charmaine•Updated 3 months ago
16 : Math.floor((Date.now() - 2 * 24 * 60 * 60 * 1000) / 1000);
17
18 // Fetch and log tweets
19 const response = await socialDataSearch(`${query} since_time:${timeFrame}`);
20 console.log("Response from socialDataSearch:", response);

fetchPaginatedData2 file matches

@nbbaier•Updated 1 week ago

FetchBasic1 file match

@fredmoon•Updated 1 week ago