Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<h2>Photo Upload</h2>
(async function createPhoto() {
let photo = {"fileName": "hello.jpg"};
await fetch("http://localhost:8080/photoz", {
method: "POST",
headers: {
"Accept": "application/json",
"Content-Type": "application/json"
},
body: JSON.stringify(photo)
(async function deletePhoto(id) {
await fetch("http://localhost:8080/photoz/" + id, {
method: "DELETE"
})
})("5")
/**************************
html5texttrack.js
Author Greg Kraus, NC State University
Contact: greg_kraus@ncsu.edu
Attribution: This code may be freely used and modified. It comes as is with no guarantees or warranties. If you use, distribute, or modify this code please give proper attribution.
Some concepts and portions of this code are borrowed from the following previous work:
@csabag
csabag / resume.json
Last active May 8, 2025 22:58
Resume - Csaba Garay
{
"headings": {},
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Csaba Garay",
"email": "garaycs@gmail.com",
"phone": "(512)2628603",
"website": "linkedin.com/in/csabagaray",