Skip to content

auth0-blog/questionmarks-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

curl http://localhost:8080/exams

curl -X POST -H "Content-Type: application/json" -d '{
    "title": "First exam"
}' http://localhost:8080/exams

curl -X POST -H "Content-Type: application/json" -d '{
    "title": "Another show exam",
    "description": "Another show exam desc"
}' http://localhost:8080/exams

curl -X POST -H "Content-Type: application/json" -d '{
    "title": "First exam",
    "description": "Just a test",
    "url": "trying-to-hack",
    "published": true
}' http://localhost:8080/exams

curl -X PUT -H "Content-Type: application/json" -d '{
    "title": "First exam",
    "description": "Just a test",
    "url": "trying-to-hack",
    "published": true
}' http://localhost:8080/exams

curl -X PUT -H "Content-Type: application/json" -d '{
    "id": 1,
    "title": "First exam",
    "description": "Just a test"
}' http://localhost:8080/exams

curl -X PUT -H "Content-Type: application/json" -d '{
    "id": 2,
    "title": "The third exam is amazing",
    "description": "Just a test"
}' http://localhost:8080/exams

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages