Skip to content

Instantly share code, notes, and snippets.

@rebelate
Created January 17, 2023 03:35
Show Gist options
  • Save rebelate/2b1c1769a6846c6c75c5a7a8860a046f to your computer and use it in GitHub Desktop.
Save rebelate/2b1c1769a6846c6c75c5a7a8860a046f to your computer and use it in GitHub Desktop.
[{"name":"ezwallet","folders":[{"name":"phone","folders":[],"requests":[{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5dXNlbmVtIiwiYXV0aCI6W3siYXV0aG9yaXR5IjoiUk9MRV9BRE1JTiJ9LHsiYXV0aG9yaXR5IjoiUk9MRV9VU0VSIn1dLCJpYXQiOjE2NzM4MzQwNjYsImV4cCI6MTY3MzgzNzY2Nn0.ez1w9o29incLgM1ONb59XUJmczipIQHoeWQ_JJSUAOo","value":"","authType":"bearer","authActive":true},"body":{"body":"","contentType":"application/json"},"name":"get phones","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/phones","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5dXNlbmVtIiwiYXV0aCI6W3siYXV0aG9yaXR5IjoiUk9MRV9BRE1JTiJ9LHsiYXV0aG9yaXR5IjoiUk9MRV9VU0VSIn1dLCJpYXQiOjE2NzM4MzMxODQsImV4cCI6MTY3MzgzNjc4NH0.RLQeV6mq0iIMEt70GBWrFLIQ5vLEG4RAtlRQBDOs8eQ","value":"","authType":"bearer","authActive":true},"body":{"body":"","contentType":"application/json"},"name":"add phone optional1","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/phones/1/optional1?number=071331441552","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5dXNlbmVtIiwiYXV0aCI6W3siYXV0aG9yaXR5IjoiUk9MRV9BRE1JTiJ9LHsiYXV0aG9yaXR5IjoiUk9MRV9VU0VSIn1dLCJpYXQiOjE2NzM4MzMxODQsImV4cCI6MTY3MzgzNjc4NH0.RLQeV6mq0iIMEt70GBWrFLIQ5vLEG4RAtlRQBDOs8eQ","value":"","authType":"bearer","authActive":true},"body":{"body":"","contentType":"application/json"},"name":"add phone primary","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/phones/1/primary?number=081331441552","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5dXNlbmVtIiwiYXV0aCI6W3siYXV0aG9yaXR5IjoiUk9MRV9BRE1JTiJ9LHsiYXV0aG9yaXR5IjoiUk9MRV9VU0VSIn1dLCJpYXQiOjE2NzM4MzMxODQsImV4cCI6MTY3MzgzNjc4NH0.RLQeV6mq0iIMEt70GBWrFLIQ5vLEG4RAtlRQBDOs8eQ","value":"","authType":"bearer","authActive":true},"body":{"body":"","contentType":"application/json"},"name":"get phone by user id","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/phones/1","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5dXNlbmVtIiwiYXV0aCI6W3siYXV0aG9yaXR5IjoiUk9MRV9BRE1JTiJ9LHsiYXV0aG9yaXR5IjoiUk9MRV9VU0VSIn1dLCJpYXQiOjE2NzM4MzMxODQsImV4cCI6MTY3MzgzNjc4NH0.RLQeV6mq0iIMEt70GBWrFLIQ5vLEG4RAtlRQBDOs8eQ","value":"","authType":"bearer","authActive":true},"body":{"body":"","contentType":"application/json"},"name":"change primary order","method":"PUT","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/phones/1/primary?phoneType=optional1","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5dXNlbmVtIiwiYXV0aCI6W3siYXV0aG9yaXR5IjoiUk9MRV9BRE1JTiJ9LHsiYXV0aG9yaXR5IjoiUk9MRV9VU0VSIn1dLCJpYXQiOjE2NzM2OTI1NDUsImV4cCI6MTY3MzY5NjE0NX0.gg0QPW5o68galS_kRUiB-ylSyb5Pq3DOg0hcHaI0QwM","value":"","authType":"bearer","authActive":true},"body":{"body":"","contentType":"application/json"},"name":"delete primary","method":"DELETE","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/phone/1/primary/delete","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""}]},{"name":"user","folders":[],"requests":[{"v":"1","auth":{"authType":"none","authActive":false},"body":{"body":"","contentType":"application/json"},"name":"check reset token","method":"GET","params":[{"key":"resetToken","value":"e","active":true}],"headers":[],"endpoint":"http://localhost:8080/api/v1/user/checkresettoken","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"ea","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"username\":\"firenew\",\"password\":12345,\"name\":\"HAHAHA\",\"email\":\"a\",\"pin\":\"555554\"}","contentType":"application/json"},"name":"edit user","method":"PUT","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/user/edit","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"","value":"","authType":"bearer","authActive":false},"body":{"body":"{\"resetToken\": \"eda1677a-672d-428b-bdce-7736c13fe751\",\"password\":\"5\"}\n","contentType":"application/json"},"name":"change password by reset token","method":"PUT","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/user/changepassword","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"","value":"","authType":"bearer","authActive":false},"body":{"body":"","contentType":"application/json"},"name":"ask to reset","method":"POST","params":[{"key":"email","value":"aha@haha.com","active":true}],"headers":[],"endpoint":"http://localhost:8080/api/v1/user/resetpassword","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5dXNlbmVtIiwiYXV0aCI6W3siYXV0aG9yaXR5IjoiUk9MRV9BRE1JTiJ9XSwiaWF0IjoxNjczMzMyMzM1LCJleHAiOjE2NzMzMzU5MzV9.NSKcWbdBA0XHglTQhEW_q3fTSIGJRpUeGc-FgdSrnV0","value":"","authType":"none","authActive":false},"body":{"body":"{\"username\":\"fireblaze\",\"password\":12345,\"name\":\"HAHAHA\",\"email\":\"aha@haha.com\",\"pin\":\"555554\"}","contentType":"application/json"},"name":"register","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/user/register","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQwNTk0NywiZXhwIjoxNjczNDA5NTQ3fQ.S_IhbkEkCuP4rtRtMXx5Rscf4jN2gDYd9T3gIDmSnHY","value":"","authType":"bearer","authActive":false},"body":{"body":"","contentType":"application/json"},"name":"get user","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/users","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"authType":"none","authActive":false},"body":{"body":"{\"username\":\"yusenem\",\"password\":\"12345\"}","contentType":"application/json"},"name":"authenticate","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/user/authenticate","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQzNzE4NiwiZXhwIjoxNjczNDQwNzg2fQ.tRIhb3ZBDAM7NWAmhbPGWA-ZCtisuBh3Mo-sgtra8-o","value":"","authType":"bearer","authActive":false},"body":{"body":"","contentType":"application/json"},"name":"whoami","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/user/me","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"authType":"none","authActive":false},"body":{"body":"{\"primaryPhone\":\"071331441552\",\"password\":\"12345\"}","contentType":"application/json"},"name":"authenticate by phone","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/user/authenticate/phone","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ5dXNlbmVtIiwiYXV0aCI6W3siYXV0aG9yaXR5IjoiUk9MRV9BRE1JTiJ9LHsiYXV0aG9yaXR5IjoiUk9MRV9VU0VSIn1dLCJpYXQiOjE2NzM3ODM2NTIsImV4cCI6MTY3Mzc4NzI1Mn0.hOTThmyddBnmX0X8dzWdgxKakRg8zK2Ifyr-CD35Acg","value":"","authType":"bearer","authActive":true},"body":{"body":"","contentType":"application/json"},"name":"get by phone number","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/users/search?number=071331441552","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""}]},{"name":"transactions","folders":[],"requests":[{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQ0NDY5MCwiZXhwIjoxNjczNDQ4MjkwfQ.a8Ro84aGEDHI24wHTeQdgm8knECwO9Cw9RP16JsDUyE","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"sender\": \"\", \"receiver\": \"\", \"amount\": 50000, \"description\": \"topup test\", \"pin\": \"\"}","contentType":"application/json"},"name":"topup","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/transactions/topup","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQyODkwNSwiZXhwIjoxNjczNDMyNTA1fQ.GCKJyI_4YdUxspAuiewxNHM31sfXIzwUfcAW2U91fLI","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"username\":\"fire\",\"password\":12345,\"name\":\"HAHAHA\",\"email\":\"a\",\"pin\":\"555554\"}","contentType":"application/json"},"name":"get transaction by id","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/transactions","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQzMDEzNywiZXhwIjoxNjczNDMzNzM3fQ.p7LPLet0G4DL1bqmDmo7cOP8YKSNEovx1U5qeErEOXY","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"username\":\"fire\",\"password\":12345,\"name\":\"HAHAHA\",\"email\":\"a\",\"pin\":\"555554\"}","contentType":"application/json"},"name":"get transactions","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/transactions","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQ0NDY5MCwiZXhwIjoxNjczNDQ4MjkwfQ.a8Ro84aGEDHI24wHTeQdgm8knECwO9Cw9RP16JsDUyE","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"sender\": \"\", \"receiver\": \"yusenem\", \"amount\": 25000, \"description\": \"transfer test\", \"pin\": \"555554\"}","contentType":"application/json"},"name":"transfer","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/transactions/transfer","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQ0NDY5MCwiZXhwIjoxNjczNDQ4MjkwfQ.a8Ro84aGEDHI24wHTeQdgm8knECwO9Cw9RP16JsDUyE","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"sender\": \"\", \"receiver\": \"\", \"amount\": 10000, \"description\": \"pln payment test\", \"pin\": \"555554\"}","contentType":"application/json"},"name":"service","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/transactions/service/pln","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQyODkwNSwiZXhwIjoxNjczNDMyNTA1fQ.GCKJyI_4YdUxspAuiewxNHM31sfXIzwUfcAW2U91fLI","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"username\":\"fire\",\"password\":12345,\"name\":\"HAHAHA\",\"email\":\"a\",\"pin\":\"555554\"}","contentType":"application/json"},"name":"get transaction history by id","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/transactions/history/1","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQyODkwNSwiZXhwIjoxNjczNDMyNTA1fQ.GCKJyI_4YdUxspAuiewxNHM31sfXIzwUfcAW2U91fLI","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"username\":\"fire\",\"password\":12345,\"name\":\"HAHAHA\",\"email\":\"a\",\"pin\":\"555554\"}","contentType":"application/json"},"name":"get transaction history","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/transactions/history","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""}]},{"name":"contact","folders":[],"requests":[{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQyODkwNSwiZXhwIjoxNjczNDMyNTA1fQ.GCKJyI_4YdUxspAuiewxNHM31sfXIzwUfcAW2U91fLI","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"username\":\"fire\",\"password\":12345,\"name\":\"HAHAHA\",\"email\":\"a\",\"pin\":\"555554\"}","contentType":"application/json"},"name":"delete contact","method":"DELETE","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/contacts/3","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQwNTk0NywiZXhwIjoxNjczNDA5NTQ3fQ.S_IhbkEkCuP4rtRtMXx5Rscf4jN2gDYd9T3gIDmSnHY","value":"","authType":"bearer","authActive":false},"body":{"body":"{\n \"userId\" : \"3\",\n \"friendId\" : \"2\"\n}","contentType":"application/json"},"name":"get contacts","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/contacts","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQwNTk0NywiZXhwIjoxNjczNDA5NTQ3fQ.S_IhbkEkCuP4rtRtMXx5Rscf4jN2gDYd9T3gIDmSnHY","value":"","authType":"bearer","authActive":false},"body":{"body":"{\n \"userId\" : \"3\",\n \"friendId\" : \"2\"\n}","contentType":"application/json"},"name":"add contact","method":"POST","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/contacts","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""},{"v":"1","auth":{"key":"","addTo":"Headers","token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJmaXJlIiwiYXV0aCI6W10sImlhdCI6MTY3MzQyODkwNSwiZXhwIjoxNjczNDMyNTA1fQ.GCKJyI_4YdUxspAuiewxNHM31sfXIzwUfcAW2U91fLI","value":"","authType":"bearer","authActive":true},"body":{"body":"{\"username\":\"fire\",\"password\":12345,\"name\":\"HAHAHA\",\"email\":\"a\",\"pin\":\"555554\"}","contentType":"application/json"},"name":"get transaction by user id","method":"GET","params":[],"headers":[],"endpoint":"http://localhost:8080/api/v1/contacts/3","testScript":"// Check status code is 3xx\npw.test(\"Status code is 4xx\", ()=> {\n pw.expect(pw.response.status).toBeLevel4xx();\n});\n","preRequestScript":""}]}],"requests":[]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment