Skip to content

Commit

Permalink
add postman file
Browse files Browse the repository at this point in the history
  • Loading branch information
voltan committed Mar 8, 2022
1 parent 2a32b75 commit af9b48a
Showing 1 changed file with 286 additions and 0 deletions.
286 changes: 286 additions & 0 deletions data/postman-laminas-user.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,286 @@
{
"info": {
"name": "Laminas",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "user_register",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "name",
"value": "Usert Test",
"type": "text"
},
{
"key": "email",
"value": "[email protected]",
"type": "text"
},
{
"key": "credential",
"value": "1234asdf",
"type": "text"
}
]
},
"url": {
"raw": "http://localhost/local/laminas/public/user/register",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"local",
"laminas",
"public",
"user",
"register"
]
}
},
"response": []
},
{
"name": "user_login",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "identity",
"value": "user",
"type": "text"
},
{
"key": "credential",
"value": "12345678",
"type": "text"
}
]
},
"url": {
"raw": "http://localhost/local/laminas/public/user/login",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"local",
"laminas",
"public",
"user",
"login"
]
}
},
"response": []
},
{
"name": "user_logout",
"request": {
"method": "POST",
"header": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItYWNjZXNzLTctMDg4YzU5ajUxcWU4MXlkZSIsInVpZCI6IjciLCJpYXQiOjE2NDY3MzE0NjEsImV4cCI6MTY0Nzk0MTA2MSwidHlwZSI6ImFjY2VzcyIsInJvbGVzIjpbIm1lbWJlciJdfQ.H9Iq5lceaUUdKNOb7GD2fh8-TX-O7DcZYtir_maFZAA",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "all_session",
"value": "1",
"description": "0 or 1 for kill other seactions",
"type": "text"
}
]
},
"url": {
"raw": "http://localhost/local/laminas/public/user/logout",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"local",
"laminas",
"public",
"user",
"logout"
]
}
},
"response": []
},
{
"name": "user_profile",
"request": {
"method": "POST",
"header": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItYWNjZXNzLTcteXlsYmppcXA0YnVreTR1ZSIsInVpZCI6NywiaWF0IjoxNjQ2NzI0MzMyLCJleHAiOjE2NDc5MzM5MzIsInR5cGUiOiJhY2Nlc3MiLCJyb2xlcyI6WyJtZW1iZXIiXX0.xM817wGyw9nSLpngQiVFoQmJ3NYz0TsBI9UzmJErK-w",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"url": {
"raw": "http://localhost/local/laminas/public/user/profile",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"local",
"laminas",
"public",
"user",
"profile"
]
}
},
"response": []
},
{
"name": "user_update",
"request": {
"method": "POST",
"header": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItYWNjZXNzLTctdDdlYzN1Mmh0cno2NzNnOSIsInVpZCI6IjciLCJpYXQiOjE2NDY3MjMyNjIsImV4cCI6MTY0NzkzMjg2MiwidHlwZSI6ImFjY2VzcyIsInJvbGVzIjpbIm1lbWJlciJdfQ.4s-eVUex-1rOOhoClhJbzKmujr48TFXZWR8QCdGe-ws",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVocHhjdWF4OGppa2dyZmEiLCJ1aWQiOiI3IiwiaWF0IjoxNjQ2NTYwNjc5LCJleHAiOjE2NDc3NzAyNzksInR5cGUiOiJhY2Nlc3MiLCJyb2xlcyI6WyJtZW1iZXIiXX0.G7IxFwbo26m1cb9lnZCVregLqIHAhe4wiE7ZA2EU4RE",
"type": "text"
},
{
"key": "email",
"value": "[email protected]",
"type": "text"
},
{
"key": "name",
"value": "User Test",
"type": "text"
},
{
"key": "identity",
"value": "user",
"type": "text"
}
]
},
"url": {
"raw": "http://localhost/local/laminas/public/user/update",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"local",
"laminas",
"public",
"user",
"update"
]
}
},
"response": []
},
{
"name": "user_password",
"request": {
"method": "POST",
"header": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItYWNjZXNzLTctdDdlYzN1Mmh0cno2NzNnOSIsInVpZCI6IjciLCJpYXQiOjE2NDY3MjMyNjIsImV4cCI6MTY0NzkzMjg2MiwidHlwZSI6ImFjY2VzcyIsInJvbGVzIjpbIm1lbWJlciJdfQ.4s-eVUex-1rOOhoClhJbzKmujr48TFXZWR8QCdGe-ws",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "current_credential",
"value": "321321321",
"type": "text"
},
{
"key": "new_credential",
"value": "12345678",
"type": "text"
}
]
},
"url": {
"raw": "http://localhost/local/laminas/public/user/password",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"local",
"laminas",
"public",
"user",
"password"
]
}
},
"response": []
},
{
"name": "user_refresh_token",
"request": {
"method": "POST",
"header": [
{
"key": "token",
"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6InVzZXItcmVmcmVzaC03LW03Y2Fzbm1sM2oxc2s2emYiLCJ1aWQiOiI3IiwiaWF0IjoxNjQ2NzI4MDU0LCJleHAiOjE2NTQ1MDQwNTQsInR5cGUiOiJyZWZyZXNoIn0.GU8BOh4y7LRPGLTtIw5ZGcH54ScRqbPdvOeC2ZIlHMo",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"url": {
"raw": "http://localhost/local/laminas/public/user/refresh",
"protocol": "http",
"host": [
"localhost"
],
"path": [
"local",
"laminas",
"public",
"user",
"refresh"
]
}
},
"response": []
}
]
}

0 comments on commit af9b48a

Please sign in to comment.