{"id":657,"date":"2019-04-29T00:00:00","date_gmt":"2019-04-29T00:00:00","guid":{"rendered":"https:\/\/wp3.geodatasource.com\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/"},"modified":"2026-01-16T01:29:08","modified_gmt":"2026-01-16T01:29:08","password":"","slug":"using-postman-to-call-geodatasource-location-search-api","status":"publish","type":"docs","link":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/","title":{"rendered":"Using Postman to call GeoDataSource Location Search API"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Intro<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Postman is a development tool you can use to test the calling of an API. We will demonstrate how to configure Postman with the GeoDataSource Location Search API Swagger configuration to easily setup the request to the API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pre-requisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First of all, you will need to download the Postman software and install it. Next, you\u2019ll need to go to the GeoDataSource Location Search API Swagger page at&nbsp; <a href=\"https:\/\/app.swaggerhub.com\/apis\/geodatasource\/geodatasource-location-search\/1.0\">https:\/\/app.swaggerhub.com\/apis\/geodatasource\/geodatasource-location-search\/1.0<\/a> where you need to copy out the whole YAML configuration text. The YAML text is the part inside the red box below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"950\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1.jpg\" alt=\"Copy YAML configuration text from GeoDataSource Location Search API Swagger page\" class=\"wp-image-124\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1.jpg 1920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1-300x148.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1-768x380.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1-1024x507.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1-50x25.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1-920x455.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1-600x297.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1-320x158.jpg 320w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring Postman with the YAML text<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run the Postman software and you should see the below. If you get shown the Create New dialog, you can just close it.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1918\" height=\"1040\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2.jpg\" alt=\"Run Postman software with the YAML text\" class=\"wp-image-125\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2.jpg 1918w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2-300x163.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2-768x416.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2-1024x555.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2-50x27.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2-920x499.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2-600x325.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step2-320x174.jpg 320w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click on the Import button at the top left and you should see the below. Click on Paste Raw Text in the Import dialog. Next, paste the YAML text from above then click on Import.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"1042\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3.jpg\" alt=\"Import YAML text with Import dialog\" class=\"wp-image-126\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3.jpg 1919w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3-300x163.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3-768x417.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3-1024x556.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3-50x27.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3-920x500.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3-600x326.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step3-320x174.jpg 320w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should now see the following. Click on the part inside the red box. That will expand the collection to show you all available APIs.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"1040\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4.jpg\" alt=\"Expand collection to show all available APIs\" class=\"wp-image-127\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4.jpg 1919w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4-300x163.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4-768x416.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4-1024x555.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4-50x27.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4-920x499.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4-600x325.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step4-320x173.jpg 320w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">First test of calling the API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Click on the first API which is the nearest city API. You will then see the parameters required to perform a GET request to this API. You can go ahead to delete the 2nd API.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1918\" height=\"1041\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5.jpg\" alt=\"Test of calling the API\" class=\"wp-image-128\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5.jpg 1918w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5-300x163.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5-768x417.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5-1024x556.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5-50x27.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5-920x499.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5-600x326.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step5-320x174.jpg 320w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can just replace the values in the VALUE column of the Params section with actual values that you wish to pass to the API. Let\u2019s test this API with a coordinate of 37.396374, -122.079566 and we will opt for a json formatted result from the API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don\u2019t have an API key, you can sign up for a free API key at <a href=\"http:\/\/www.geodatasource.com\/web-service\/location-search\">http:\/\/www.geodatasource.com\/web-service\/location-search<\/a> and you can input it like below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1916\" height=\"1042\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6.jpg\" alt=\"Enter values that required by the API\" class=\"wp-image-129\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6.jpg 1916w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6-300x163.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6-768x418.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6-1024x557.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6-50x27.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6-920x500.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6-600x326.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step6-320x174.jpg 320w\" sizes=\"auto, (max-width: 1916px) 100vw, 1916px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Upon pressing the Send button, you will receive the json result as below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"1037\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7.jpg\" alt=\"Result returned by the API in JSON format\" class=\"wp-image-130\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7.jpg 1919w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7-300x162.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7-768x415.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7-1024x553.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7-50x27.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7-920x497.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7-600x324.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step7-320x173.jpg 320w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Calling the API using a bulk input file<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The previous section dealt with calling the API with a manually keyed in set of inputs. What if you have a file full of inputs you want to pass to the API? We will now show how to read inputs from a file to pass to the API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For our example, we have a file called geotest.csv which looks like below. The CSV data file should have a header.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1100\" height=\"351\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8.jpg\" alt=\"Calling the API using a bulk input file\" class=\"wp-image-131\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8.jpg 1100w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8-300x96.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8-768x245.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8-1024x327.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8-50x16.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8-920x294.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8-600x191.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step8-320x102.jpg 320w\" sizes=\"auto, (max-width: 1100px) 100vw, 1100px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before we run the bulk input file through the API, we need to create some tests to validate the results being returned from the API. Click on the Tests section and paste the following codes. The codes will test the return values of the 3 rows of input we have in our test file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pm.test(&#8220;Location Test&#8221;, function() {<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">var jsonData = pm.response.json();<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pm.expect(jsonData.country).to.eql(&#8220;US&#8221;);<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">});<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1915\" height=\"1041\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10.jpg\" alt=\"Perform tests to validate the results being returned from the API\" class=\"wp-image-132\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10.jpg 1915w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10-300x163.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10-768x417.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10-1024x557.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10-50x27.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10-920x500.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10-600x326.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step10-320x174.jpg 320w\" sizes=\"auto, (max-width: 1915px) 100vw, 1915px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To have the API work with dynamic values from the test file, we have to modify the following 2 parameters to become variables. The variable names must follow the header names in the CSV file. The 2 fields in red below have been changed to use the header names, i.e. {{longitude}} and {{latitude}}. This means the dynamic values for both fields will come from their named counterpart in the CSV file. The curly braces are required to denote that these 2 values are variables.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1914\" height=\"1040\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9.jpg\" alt=\"API work with dynamic values from the test file\" class=\"wp-image-133\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9.jpg 1914w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9-300x163.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9-768x417.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9-1024x556.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9-50x27.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9-920x500.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9-600x326.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step9-320x174.jpg 320w\" sizes=\"auto, (max-width: 1914px) 100vw, 1914px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now we are ready to call the API using input from the bulk input file. Inside Postman, click on the Runner button at the top left of the program. The button is enclosed in the red box inside the above image. Inside the Collection Runner window, click on the GeoDataSource Location Search collection. Next, click Select File to select the geotest.csv file from above. Then click on the blue Run button.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1583\" height=\"1034\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12.jpg\" alt=\"Run GeoDataSource Location Search collection\" class=\"wp-image-135\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12.jpg 1583w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12-300x196.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12-768x502.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12-1024x669.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12-50x33.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12-920x601.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12-600x392.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step12-320x209.jpg 320w\" sizes=\"auto, (max-width: 1583px) 100vw, 1583px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The test results are done and look like all 3 input lines have passed the validation test.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1584\" height=\"997\" src=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13.jpg\" alt=\"Test results are done and have passed the validation test\" class=\"wp-image-136\" srcset=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13.jpg 1584w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13-300x189.jpg 300w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13-768x483.jpg 768w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13-1024x645.jpg 1024w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13-50x31.jpg 50w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13-920x579.jpg 920w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13-600x378.jpg 600w, https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step13-320x201.jpg 320w\" sizes=\"auto, (max-width: 1584px) 100vw, 1584px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Intro Postman is a development tool you can use to test the calling of an API. We will demonstrate how [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[21],"doc_tag":[],"class_list":["post-657","docs","type-docs","status-publish","hentry","doc_category-technical"],"year_month":"2026-08","word_count":638,"total_views":"4","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"chris","author_nicename":"chris","author_url":"https:\/\/www.geodatasource.com\/resources\/author\/chris\/"},"doc_category_info":[{"term_name":"Technical","term_url":"https:\/\/www.geodatasource.com\/resources\/categories\/technical\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using Postman to call GeoDataSource Location Search API |<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using Postman to call GeoDataSource Location Search API |\" \/>\n<meta property=\"og:description\" content=\"Intro Postman is a development tool you can use to test the calling of an API. We will demonstrate how [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/geodatasource\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-16T01:29:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@_geodatasource\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/using-postman-to-call-geodatasource-location-search-api\\\/\",\"url\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/using-postman-to-call-geodatasource-location-search-api\\\/\",\"name\":\"Using Postman to call GeoDataSource Location Search API |\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/using-postman-to-call-geodatasource-location-search-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/using-postman-to-call-geodatasource-location-search-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/step1.jpg\",\"datePublished\":\"2019-04-29T00:00:00+00:00\",\"dateModified\":\"2026-01-16T01:29:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/using-postman-to-call-geodatasource-location-search-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/using-postman-to-call-geodatasource-location-search-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/using-postman-to-call-geodatasource-location-search-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/step1.jpg\",\"contentUrl\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/step1.jpg\",\"width\":1920,\"height\":950},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/using-postman-to-call-geodatasource-location-search-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Using Postman to call GeoDataSource Location Search API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/\",\"name\":\"GeoDataSource Articles & Tutorials\",\"description\":\"Resources About GeoDataSource Services\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/#organization\",\"name\":\"GeoDataSource.com\",\"url\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/logo-e1564122827936.png\",\"contentUrl\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/logo-e1564122827936.png\",\"width\":220,\"height\":27,\"caption\":\"GeoDataSource.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.geodatasource.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/geodatasource\\\/\",\"https:\\\/\\\/x.com\\\/_geodatasource\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using Postman to call GeoDataSource Location Search API |","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/","og_locale":"en_US","og_type":"article","og_title":"Using Postman to call GeoDataSource Location Search API |","og_description":"Intro Postman is a development tool you can use to test the calling of an API. We will demonstrate how [&hellip;]","og_url":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/","article_publisher":"https:\/\/www.facebook.com\/geodatasource\/","article_modified_time":"2026-01-16T01:29:08+00:00","og_image":[{"url":"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@_geodatasource","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/","url":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/","name":"Using Postman to call GeoDataSource Location Search API |","isPartOf":{"@id":"https:\/\/www.geodatasource.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/#primaryimage"},"image":{"@id":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1.jpg","datePublished":"2019-04-29T00:00:00+00:00","dateModified":"2026-01-16T01:29:08+00:00","breadcrumb":{"@id":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/#primaryimage","url":"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1.jpg","contentUrl":"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/04\/step1.jpg","width":1920,"height":950},{"@type":"BreadcrumbList","@id":"https:\/\/www.geodatasource.com\/resources\/tutorials\/using-postman-to-call-geodatasource-location-search-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.geodatasource.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/www.geodatasource.com\/resources\/tutorials\/"},{"@type":"ListItem","position":3,"name":"Using Postman to call GeoDataSource Location Search API"}]},{"@type":"WebSite","@id":"https:\/\/www.geodatasource.com\/resources\/#website","url":"https:\/\/www.geodatasource.com\/resources\/","name":"GeoDataSource Articles & Tutorials","description":"Resources About GeoDataSource Services","publisher":{"@id":"https:\/\/www.geodatasource.com\/resources\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.geodatasource.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.geodatasource.com\/resources\/#organization","name":"GeoDataSource.com","url":"https:\/\/www.geodatasource.com\/resources\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.geodatasource.com\/resources\/#\/schema\/logo\/image\/","url":"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/07\/logo-e1564122827936.png","contentUrl":"https:\/\/www.geodatasource.com\/resources\/wp-content\/uploads\/2019\/07\/logo-e1564122827936.png","width":220,"height":27,"caption":"GeoDataSource.com"},"image":{"@id":"https:\/\/www.geodatasource.com\/resources\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/geodatasource\/","https:\/\/x.com\/_geodatasource"]}]}},"_links":{"self":[{"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/docs\/657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/comments?post=657"}],"version-history":[{"count":1,"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/docs\/657\/revisions"}],"predecessor-version":[{"id":723,"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/docs\/657\/revisions\/723"}],"wp:attachment":[{"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/media?parent=657"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/doc_category?post=657"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.geodatasource.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}