Skip to content

Commit

Permalink
feat: topic rest controller postman methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr4ll committed Mar 27, 2023
1 parent 7be0d40 commit 297db0e
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions AList.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -308,5 +308,89 @@
}
]
}
,
{
"name": "TopicRestController",
"item": [
{
"name": "getTopic",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://localhost:8443/api/topics/16",
"protocol": "https",
"host": [
"localhost"
],
"port": "8443",
"path": [
"api",
"topics",
"16"
]
}
},
"response": []
},
{
"name": "createTopic",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "name",
"value": "College",
"type": "text"
},
{
"key": "description",
"value": "topic related to studies and other institutional subjects",
"type": "text"
}
]
},
"url": {
"raw": "https://localhost:8443/api/topics/",
"protocol": "https",
"host": [
"localhost"
],
"port": "8443",
"path": [
"api",
"topics",
""
]
}
},
"response": []
},
{
"name": "deleteTopic",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "https://localhost:8443/api/topics/16",
"protocol": "https",
"host": [
"localhost"
],
"port": "8443",
"path": [
"api",
"topics",
"16"
]
}
},
"response": []
}
]
}
]
}

0 comments on commit 297db0e

Please sign in to comment.