{"info":{"_postman_id":"41a51a6c-b085-4726-8f60-5eb90bb29bb7","name":"fbis","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"11687704","collectionId":"41a51a6c-b085-4726-8f60-5eb90bb29bb7","publishedId":"2s83zfR5q1","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-10-06T18:07:18.000Z"},"item":[{"name":"register","id":"439cce47-e6ee-4bf7-9499-49f54fa8cfb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Adebayo","type":"text"},{"key":"email","value":"a.adebayojubril@gmail.com","type":"text"},{"key":"password","value":"12345678","type":"text"}]},"url":"http://localhost:8000/api/register","urlObject":{"protocol":"http","port":"8000","path":["api","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"439cce47-e6ee-4bf7-9499-49f54fa8cfb1"},{"name":"login","id":"d16682a4-787c-437a-8af9-ea7d5f0ef372","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"adekoya.adebayojubril@gmail.com","type":"text"},{"key":"password","value":"12345678","type":"text"}]},"url":"http://localhost:8000/api/login","urlObject":{"protocol":"http","port":"8000","path":["api","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d16682a4-787c-437a-8af9-ea7d5f0ef372"},{"name":"create post","id":"bed41d25-d1e5-4fc4-8fbb-d77eefd031f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"post","value":"Hello","type":"text"}]},"url":"http://localhost:8000/api/create-post","urlObject":{"protocol":"http","port":"8000","path":["api","create-post"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bed41d25-d1e5-4fc4-8fbb-d77eefd031f5"},{"name":"get posts","id":"2ce733ca-7492-442a-92bc-d7859b6d20e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"post","value":"hell","type":"text"}]},"url":"http://localhost:8000/api/posts","urlObject":{"protocol":"http","port":"8000","path":["api","posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ce733ca-7492-442a-92bc-d7859b6d20e3"},{"name":"update post","id":"ad0d8706-762c-4625-aeb1-3758163f7d8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"ad0d8706-762c-4625-aeb1-3758163f7d8a"},{"name":"post comment","id":"ed316ccb-ad19-4f3e-8325-c2deb99b689b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"comment","value":"Lol","type":"text"},{"key":"post_id","value":"1","type":"text"}]},"url":"http://localhost:8000/api/post-comment","urlObject":{"protocol":"http","port":"8000","path":["api","post-comment"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed316ccb-ad19-4f3e-8325-c2deb99b689b"},{"name":"get comments","id":"a4983a66-b857-4242-8703-03a772e45c27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8000/api/get-comments/1","urlObject":{"protocol":"http","port":"8000","path":["api","get-comments","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a4983a66-b857-4242-8703-03a772e45c27"},{"name":"logout","id":"f987712a-dcee-422b-bc89-2c037f41638f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:8000/api/logout","urlObject":{"protocol":"http","port":"8000","path":["api","logout"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f987712a-dcee-422b-bc89-2c037f41638f"},{"name":"Nomba","id":"7a3199b6-1d47-4366-ade9-8cd03acc8538","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"AccountId","value":"792be714-e3c1-4f38-9004-7506bd51e7df","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"grant_type\": \"client_credentials\",\r\n  \"client_id\": \"fdeb5751-6d58-4dcb-943c-17d12960b4b7\",\r\n  \"client_secret\": \"5z3SOl9NKp26uA/WC+5BW+aE6ah39mgdDDmqPql1LityQ6NUfy4IrfVLEA0aPL/NMBtOOBBGr0AVNNppG75UTQ==\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.nomba.com/v1/auth/token/issue","urlObject":{"protocol":"https","path":["v1","auth","token","issue"],"host":["api","nomba","com"],"query":[],"variable":[]}},"response":[{"id":"dce951e4-2810-4b3c-987f-9e97f28b7a8f","name":"access token","originalRequest":{"method":"POST","header":[{"key":"AccountId","value":"792be714-e3c1-4f38-9004-7506bd51e7df","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"grant_type\": \"client_credentials\",\r\n  \"client_id\": \"fdeb5751-6d58-4dcb-943c-17d12960b4b7\",\r\n  \"client_secret\": \"5z3SOl9NKp26uA/WC+5BW+aE6ah39mgdDDmqPql1LityQ6NUfy4IrfVLEA0aPL/NMBtOOBBGr0AVNNppG75UTQ==\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.nomba.com/v1/auth/token/issue"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 Jan 2024 14:06:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"vary","value":"Accept-Encoding"},{"key":"strict-transport-security","value":"max-age=15724800; includeSubDomains"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=pLh9sr1RoG6%2FNI5DeoP8hQqRi1J3un2vYeou8INbCvd7fTd2aphqarnK%2BDlu2ZJC%2Fi5xFcjQRCtKsYtdDEFcuIIhKdVUMClmbWDUiG0HPWzOeJsnRONZBDZM646nsSXG\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84e283c68a4d6560-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"00\",\n    \"description\": \"Successful\",\n    \"data\": {\n        \"access_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJSOlRFQU1TX0FETUlOIjoiUjpURUFNU19BRE1JTiIsIkc6NzkyYmU3MTQtZTNjMS00ZjM4LTkwMDQtNzUwNmJkNTFlN2RmIjoiRzo3OTJiZTcxNC1lM2MxLTRmMzgtOTAwNC03NTA2YmQ1MWU3ZGYiLCJpYXQiOjE3MDY3MDk5ODEsInN1YiI6ImZkZWI1NzUxLTZkNTgtNGRjYi05NDNjLTE3ZDEyOTYwYjRiNyIsImV4cCI6MTcwNjcxMTc4MX0.zG2jdQEmYQ0EYUZcUIdfxrc6ZHP2diQrqnWHNWFLDsM\",\n        \"refresh_token\": \"01hnfxf62wrm9fkxq6hz62720d1706709981276\",\n        \"businessId\": \"792be714-e3c1-4f38-9004-7506bd51e7df\",\n        \"expiresAt\": \"2024-01-31T14:36:21.276Z\"\n    }\n}"}],"_postman_id":"7a3199b6-1d47-4366-ade9-8cd03acc8538"},{"name":"checkout","id":"90f38cbc-98ab-4cd4-8e33-013d2b2ed279","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"90f38cbc-98ab-4cd4-8e33-013d2b2ed279"}]}