{"info":{"_postman_id":"9daffb26-b616-4910-a5db-ef2c42a0e3ca","name":"go-register-gmail-otps","description":"<html><head></head><body><p>A mini project that integrates with the Google API, allowing users to register using their Google email and a one-time password (OTP).</p>\n<p>A user who registers in the system using Gmail will be initially added to the database with the&nbsp;<code>Is_Active status set to False</code>. However, once the user completes registration with an OTP, the&nbsp;<code>Is_Active status will be updated to True</code>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"33434480","collectionId":"9daffb26-b616-4910-a5db-ef2c42a0e3ca","publishedId":"2sAY4vh3Kg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-31T06:09:41.000Z"},"item":[{"name":"SignInRequest","id":"a7b7ba47-2118-4490-b2b0-a52962245151","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"VincentLimarus27@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/auth/register","urlObject":{"protocol":"http","port":"3000","path":["api","v1","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8b67b2a7-690c-4144-afb4-d8f28cdb8739","name":"SignInRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"VincentLimarus27@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 31 Oct 2024 06:07:20 GMT"},{"key":"Content-Length","value":"84"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Success\",\n    \"code\": 200,\n    \"email\": \"VincentLimarus27@gmail.com\",\n    \"otp\": \"863534\"\n}"}],"_postman_id":"a7b7ba47-2118-4490-b2b0-a52962245151"},{"name":"SignInVerify","id":"8be97ff7-b0ee-4d9a-a4cd-13225e92df97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"VincentLimarus27@gmail.com\",\r\n    \"otp\": \"358436\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/auth/register/verify","urlObject":{"protocol":"http","port":"3000","path":["api","v1","auth","register","verify"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1fd1125f-1c02-4631-a06a-db224fb375a0","name":"SignInVerify","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"VincentLimarus27@gmail.com\",\r\n    \"otp\": \"863534\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/v1/auth/register/verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 31 Oct 2024 06:07:57 GMT"},{"key":"Content-Length","value":"184"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Success\",\n    \"code\": 200,\n    \"data\": {\n        \"message\": \"OTP with user id 847ad40f-c045-471d-9afd-28b6b1b86c65 and OTP 863534 is valid\",\n        \"email\": \"VincentLimarus27@gmail.com\",\n        \"is_valid\": true\n    }\n}"}],"_postman_id":"8be97ff7-b0ee-4d9a-a4cd-13225e92df97"}]}