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
auth0-blog/questionmarks-server
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published