You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7Bsuccess?q=api&page=34&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=api
Returns an array of strings in format "username" or "username/projectName"
Found 11746 results for "api"(1009ms)
413// Update todo status
414try {
415const response = await fetch('/api/todos/' + todoId, {
416method: 'PUT',
417headers: {
671try {
672// Submit log data
673const response = await fetch('/api/log', {
674method: 'POST',
675headers: {
84status: "pending",
85priority: 3,
86notes: "Consider a micro-SaaS or API that demonstrates your skills"
87}
88];