Skip to content

Instantly share code, notes, and snippets.

@polaroidkidd
Created July 27, 2023 13:01
Show Gist options
  • Save polaroidkidd/952222fd34c66814800a6ca660bb915e to your computer and use it in GitHub Desktop.
Save polaroidkidd/952222fd34c66814800a6ca660bb915e to your computer and use it in GitHub Desktop.
{
"folders": [],
"v": 1,
"name": "in28minutes-spring",
"requests": [
{
"headers": [],
"endpoint": "http://localhost:8080/users",
"method": "GET",
"auth": {
"authActive": true,
"authType": "none"
},
"testScript": "",
"v": "1",
"name": "Get Users",
"preRequestScript": "",
"params": [],
"body": {
"body": null,
"contentType": null
}
},
{
"headers": [],
"endpoint": "http://localhost:8080/users/<<id>>",
"method": "GET",
"auth": {
"authActive": true,
"authType": "none"
},
"v": "1",
"testScript": "",
"name": "Get User by ID",
"preRequestScript": "",
"params": [],
"body": {
"body": null,
"contentType": null
}
},
{
"headers": [],
"endpoint": "http://localhost:8080/users",
"method": "POST",
"auth": {
"authActive": true,
"authType": "none"
},
"testScript": "",
"v": "1",
"name": "Post User",
"preRequestScript": "",
"params": [],
"body": {
"body": "{\n \"name\": \"\",\n \"birthDate\": \"3421-11-11\"\n}",
"contentType": "application/json"
}
},
{
"headers": [],
"endpoint": "http://localhost:8080/users/<<id>>",
"method": "GET",
"auth": {
"authActive": true,
"authType": "none"
},
"v": "1",
"testScript": "",
"name": "Delete User by ID",
"preRequestScript": "",
"params": [],
"body": {
"body": null,
"contentType": null
}
},
{
"headers": [],
"endpoint": "http://localhost:8080/jpa/users/10001",
"method": "GET",
"auth": {
"authActive": true,
"authType": "none"
},
"testScript": "",
"v": "1",
"name": "JPA Get User by ID",
"preRequestScript": "",
"params": [],
"body": {
"body": null,
"contentType": null
}
},
{
"headers": [],
"endpoint": "http://localhost:8080/jpa/users",
"method": "POST",
"auth": {
"authActive": true,
"authType": "none"
},
"v": "1",
"testScript": "",
"name": "JPA Post User",
"preRequestScript": "",
"params": [],
"body": {
"body": "{\n \"name\": \"Daniel Einars\",\n \"birthDate\": \"1987-11-01\"\n}",
"contentType": "application/json"
}
},
{
"headers": [],
"endpoint": "http://localhost:8080/jpa/users",
"method": "GET",
"auth": {
"authActive": true,
"authType": "basic",
"username": "username",
"password": "password"
},
"testScript": "",
"v": "1",
"name": "JPA Get Users",
"preRequestScript": "",
"params": [],
"body": {
"body": null,
"contentType": null
}
},
{
"headers": [],
"endpoint": "http://localhost:8080/jpa/users/1/posts",
"method": "GET",
"auth": {
"authActive": true,
"authType": "basic",
"username": "username",
"password": "password"
},
"v": "1",
"testScript": "",
"name": "JPA Posts by User",
"preRequestScript": "",
"params": [],
"body": {
"body": null,
"contentType": null
}
},
{
"headers": [],
"endpoint": "http://localhost:8080/jpa/users/10001/posts",
"method": "POST",
"auth": {
"authActive": true,
"authType": "none"
},
"testScript": "",
"v": "1",
"name": "Post Post to User",
"preRequestScript": "",
"params": [],
"body": {
"body": "{\n \t\"description\": \"Hello World, this is my first post\"\n}",
"contentType": "application/json"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment