This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<h2>Photo Upload</h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(async function deletePhoto(id) { | |
await fetch("http://localhost:8080/photoz/" + id, { | |
method: "DELETE" | |
}) | |
})("5") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************** | |
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"headings": {}, | |
"meta": { | |
"theme": "elegant" | |
}, | |
"basics": { | |
"name": "Csaba Garay", | |
"email": "garaycs@gmail.com", | |
"phone": "(512)2628603", | |
"website": "linkedin.com/in/csabagaray", |