Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 599 Bytes

tests.rest

File metadata and controls

39 lines (28 loc) · 599 Bytes

GET http://localhost:5000/db/dolgozatok

###

POST http://localhost:5000/db/dolgozatok Content-Type: application/json {

"name": "Tibor", "email": "[email protected]", "passwd": "t"

}

###

POST http://localhost:5000/db/logincheck Content-Type: application/json

{
"email": "[email protected]", "passwd": "ferencváros"

}

###

GET http://localhost:5000/db/dolgozatok Authorization: Bearer

###

POST http://localhost:5000/email/send Content-Type: application/json

{
"to": "[email protected]", "subject": "töszt", "message": "<h1>Hélóóóóó!!!<h1>"

}

###