{"info":{"_postman_id":"807c55c2-18b8-47da-b0d9-00118fe9c7ce","name":"DNS","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This is main DNS API to get the location</p>\n<h1 id=\"overview\">Overview</h1>\n<p>DNS helps drones to locate databank to upload data gathered from a sector of a galaxy. API calculates &amp; returns location based on coordinates and velocity. </p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>200 - Success\n429 - StatusTooManyRequests\n400 - StatusBadRequest (invalid request payload)\n500 - StatusInternalServerError (API Failed to calculate or marshal output into resp json)</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>Default throttling rate is 100 requests per seconds with 50 burst size is used.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"8920648","collectionId":"807c55c2-18b8-47da-b0d9-00118fe9c7ce","publishedId":"SVn3tbMr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-09-28T08:52:19.000Z"},"item":[{"name":"http://localhost:8080/getLoc","id":"81a29e6f-640e-4a01-90b7-7420aab5eec8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"x\":\"123.12\",\"y\":\"456.56\",\"z\":\"789.89\",\"vel\":\"20.0\"}"},"url":"http://localhost:8080/getLoc","description":"<p>DNS: REST API to get location</p>\n","urlObject":{"protocol":"http","port":"8080","path":["getLoc"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"bbd1bdb4-1d35-43fc-9f52-1efa343fd0be","name":"http://localhost:8080/getLoc","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"x\":\"123.12\",\"y\":\"456.56\",\"z\":\"789.89\",\"vel\":\"20.0\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/getLoc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Sat, 28 Sep 2019 08:30:47 GMT"},{"key":"Content-Length","value":"26"}],"cookie":[],"responseTime":null,"body":"{\n    \"loc\": 1389.5700000000002\n}"}],"_postman_id":"81a29e6f-640e-4a01-90b7-7420aab5eec8"},{"name":"http://localhost:8080/getLoc","id":"0b588195-233d-437a-a6fb-a07ad19a80ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"x\":\"123.12\",\"y\":\"456.56\",\"z\":\"789.89\",\"vel\":\"20.hi\"}"},"url":"http://localhost:8080/getLoc","description":"<p>For invalid input as vel doesn't contain a valid float in string</p>\n","urlObject":{"protocol":"http","port":"8080","path":["getLoc"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b8852769-6a04-4916-bc12-cd122c272aca","name":"http://localhost:8080/getLoc","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"x\":\"123.12\",\"y\":\"456.56\",\"z\":\"789.89\",\"vel\":\"20.hi\"}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/getLoc"},"status":"Bad Request","code":400,"_postman_previewlanguage":"plain","header":[{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Date","value":"Sat, 28 Sep 2019 08:42:36 GMT"},{"key":"Content-Length","value":"12"}],"cookie":[],"responseTime":null,"body":"Bad Request\n"}],"_postman_id":"0b588195-233d-437a-a6fb-a07ad19a80ce"},{"name":"http://localhost:8080/getLoc","id":"ab64df1c-82e9-4241-ba94-2f8e435dfc4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"x\":\"123.12\",\"y\":\"456.56\",\"z\":\"789.89\"}"},"url":"http://localhost:8080/getLoc","description":"<p>Invalid input, less number of parameters</p>\n","urlObject":{"protocol":"http","port":"8080","path":["getLoc"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab64df1c-82e9-4241-ba94-2f8e435dfc4d"}]}