{"info":{"_postman_id":"3827fe2a-740c-4848-95bd-ad96dcf89898","name":"practice-app/article-info","description":"<html><head></head><body><h3 id=\"cmpe-352-practice-app\">CMPE 352 Practice App</h3>\n<h3 id=\"article-info-endpoint\">article-info endpoint</h3>\n<p><strong>GET Request:</strong></p>\n<p>Gets the article with id api/{id}</p>\n<p><strong>POST Request:</strong></p>\n<p>Updates the article with id api/{id}.</p>\n<p>The request should have these fields:</p>\n<p>\"title\" : Title of the article</p>\n<p>\"body\": Body of the article</p>\n<p>\"category\": Category of the article</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20974520","collectionId":"3827fe2a-740c-4848-95bd-ad96dcf89898","publishedId":"UyxjEkH3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-14T08:34:00.000Z"},"item":[{"name":"http://127.0.0.1:8000/article-info/api/1","id":"12fab3d8-5181-4c1e-b47d-45084b7aa47e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/article-info/api/1","urlObject":{"protocol":"http","port":"8000","path":["article-info","api","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"32bd6297-00c7-4221-b825-5524ef944636","name":"http://127.0.0.1:8000/article-info/api/1","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/article-info/api/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 14 May 2022 08:24:38 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.0"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"548"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Can there be a world without antibiotics?\",\n    \"body\": \"Medical experts around the globe are worried that more and more viruses and bacteria are becoming resistant to today’s medicine. They are afraid that in a few generations antibiotics may become useless. Scientists have already discovered bacteria that do not react if treated with antibiotics. As a result medical treatment will become more expensive as new drugs have to be developed.\",\n    \"category\": 1,\n    \"user\": 1,\n    \"timestamp\": \"2022-05-14T08:24:34.624848Z\",\n    \"nof_upvotes\": 1,\n    \"nof_downvotes\": 1\n}"}],"_postman_id":"12fab3d8-5181-4c1e-b47d-45084b7aa47e"},{"name":"New Request","id":"dc27c57c-e1d0-462d-9237-3fd772c986af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"!UPDATED! Can there be a world without antibiotics?\",\r\n    \"body\": \"!UPDATED! Medical experts around the globe are worried that more and more viruses and bacteria are becoming resistant to today’s medicine. They are afraid that in a few generations antibiotics may become useless. Scientists have already discovered bacteria that do not react if treated with antibiotics. As a result medical treatment will become more expensive as new drugs have to be developed.\",\r\n    \"category\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/article-info/api/1","urlObject":{"protocol":"http","port":"8000","path":["article-info","api","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5ce1c7cc-a6fa-4ced-ba58-6942e170717d","name":"New Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"!UPDATED! Can there be a world without antibiotics?\",\r\n    \"body\": \"!UPDATED! Medical experts around the globe are worried that more and more viruses and bacteria are becoming resistant to today’s medicine. They are afraid that in a few generations antibiotics may become useless. Scientists have already discovered bacteria that do not react if treated with antibiotics. As a result medical treatment will become more expensive as new drugs have to be developed.\",\r\n    \"category\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/article-info/api/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 14 May 2022 08:25:20 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.0"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"568"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"!UPDATED! Can there be a world without antibiotics?\",\n    \"body\": \"!UPDATED! Medical experts around the globe are worried that more and more viruses and bacteria are becoming resistant to today’s medicine. They are afraid that in a few generations antibiotics may become useless. Scientists have already discovered bacteria that do not react if treated with antibiotics. As a result medical treatment will become more expensive as new drugs have to be developed.\",\n    \"category\": 2,\n    \"user\": 1,\n    \"timestamp\": \"2022-05-14T08:25:20.075423Z\",\n    \"nof_upvotes\": 1,\n    \"nof_downvotes\": 1\n}"}],"_postman_id":"dc27c57c-e1d0-462d-9237-3fd772c986af"}]}