Cleaned up tools and tests

This commit is contained in:
2021-12-23 13:57:52 +00:00
parent 6e75012376
commit da0c4bbd05
5 changed files with 65 additions and 60 deletions
+16 -5
View File
@@ -1,23 +1,34 @@
#Query
GET https://dev-news.eggtrainer.com/news HTTP/1.1
GET https://dev-news.krgamestudios.com/news HTTP/1.1
###
#Login
POST https://dev-auth.krgamestudios.com/auth/login HTTP/1.1
Content-Type: application/json
{
"email": "example@example.com",
"password": "helloworld"
}
###
#Publish
POST https://dev-news.eggtrainer.com/news HTTP/1.1
POST https://dev-news.krgamestudios.com/news HTTP/1.1
Content-Type: application/json
Authorization: Bearer
{
"title": "Hello World",
"author": "Kayne Ruse",
"author": "Anonymous",
"body": "Lorem ipsum."
}
###
#Edit
PATCH https://dev-news.eggtrainer.com/news/1 HTTP/1.1
PATCH https://dev-news.krgamestudios.com/news/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer
@@ -28,6 +39,6 @@ Authorization: Bearer
###
#Delete
DELETE https://dev-news.eggtrainer.com/news/1 HTTP/1.1
DELETE https://dev-news.krgamestudios.com/news/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer