{"info":{"_postman_id":"5f55e232-a484-4fec-9c46-e7990263ff40","name":"Auth","description":"<html><head></head><body><p>This is an API documentation of otp-golang package</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10956074","collectionId":"5f55e232-a484-4fec-9c46-e7990263ff40","publishedId":"2s8YehSvcG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-08T19:48:42.000Z"},"item":[{"name":"Login","id":"c3a023d3-0402-453a-a69e-444897a0f8b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone","value":"5555555555","type":"text"},{"key":"code","value":"850354","type":"text"}]},"url":"http://localhost:3000/auth/login","urlObject":{"protocol":"http","port":"3000","path":["auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3a023d3-0402-453a-a69e-444897a0f8b5"},{"name":"Register","id":"83cf9856-5baa-441d-9215-9bf11fba09c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone","value":"5555555555","type":"text"},{"key":"name","value":"John Doe","type":"text"},{"key":"role","value":"admin","type":"text"}]},"url":"http://localhost:3000/auth/register","urlObject":{"protocol":"http","port":"3000","path":["auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"83cf9856-5baa-441d-9215-9bf11fba09c9"},{"name":"Get Otp","id":"f663c87b-be77-45cd-b14c-8eb21a165047","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"phone","value":"5555555555","type":"text"}]},"url":"http://localhost:3000/auth/otp","urlObject":{"protocol":"http","port":"3000","path":["auth","otp"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f663c87b-be77-45cd-b14c-8eb21a165047"},{"name":"Get User","id":"80d89bae-6e24-4ca0-a199-15e14d46e437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/auth/user","urlObject":{"protocol":"http","port":"3000","path":["auth","user"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"80d89bae-6e24-4ca0-a199-15e14d46e437"}]}