{"id":25539055,"date":"2022-08-22T23:43:46","date_gmt":"2022-08-22T18:13:46","guid":{"rendered":"https:\/\/entri.app\/blog\/?p=25539055"},"modified":"2022-11-19T14:40:15","modified_gmt":"2022-11-19T09:10:15","slug":"post-method-python-requests","status":"publish","type":"post","link":"https:\/\/entri.app\/blog\/post-method-python-requests\/","title":{"rendered":"POST Method &#8211; Python Requests"},"content":{"rendered":"<p>The requests library is one of the important aspects of Python for making HTTP requests to a specified URL. The post() method is used when we want to send some data to the server. Then the data is stored in the Database.<\/p>\n<h2><strong>POST Http Method<\/strong><\/h2>\n<p>POST is a request method supported by HTTP used by the World Wide Web. By design, the POST request method requests that a web server accepts the data enclosed in the body of the request message, most likely for storing it. It is often used when uploading a file or when submitting a completed web form.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/bit.ly\/3ELmCiA\" target=\"_blank\" rel=\"noopener\"><strong>Know more about python post request here at Entri!<\/strong><\/a><\/p>\n<h3><strong>Python Requests Post<\/strong><\/h3>\n<p>To create a\u00a0POST\u00a0request\u00a0in\u00a0Python, use the\u00a0requests.post()\u00a0method. The\u00a0requests post()\u00a0method accepts\u00a0URLs.\u00a0data,\u00a0json, and\u00a0args\u00a0as arguments and sends a POST request to a specified URL.<\/p>\n<h3><strong>Syntax<\/strong><\/h3>\n<p>The syntax of requests post() example is the following.<\/p>\n<p><code class=\"hljs python\">requests.post(url, data={<span class=\"hljs-built_in\">key<\/span>: <span class=\"hljs-built_in\">value<\/span>}, json={<span class=\"hljs-built_in\">key<\/span>: <span class=\"hljs-built_in\">value<\/span>}, args)<\/code><\/p>\n<p><strong>Example \u2013<\/strong><\/p>\n<p>import requests<\/p>\n<p># Making a POST request<br \/>\nr = requests.post(&#8216;https:\/\/httpbin.org \/ post&#8217;, data ={&#8216;key&#8217;:&#8217;value&#8217;})<\/p>\n<p># check status code for the response received<br \/>\n# success code &#8211; 200<br \/>\nprint(r)<\/p>\n<p># print content of request<br \/>\nprint(r.json())<\/p>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/bit.ly\/3ELmCiA\" target=\"_blank\" rel=\"noopener\">Learn Coding in your Language! Enroll Here!<\/a><\/strong><\/p>\n<h3><strong>Parameters for Python Post Request<\/strong><\/h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"100\" \/>\n<col width=\"100\" \/><\/colgroup>\n<tbody>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Parameter&quot;}\">Parameter<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Description&quot;}\">\n<div>\n<div>Description<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;url&quot;}\">URL<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is required. The url of the request.&quot;}\">\n<div>\n<div>It is required. The URL of the request.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;data&quot;}\">data<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It can be a dictionary, a list of tuples, bytes or a file object to send to the specified url.&quot;}\" data-sheets-hyperlinkruns=\"{&quot;1&quot;:28,&quot;2&quot;:&quot;https:\/\/appdividend.com\/2019\/01\/08\/python-dictionary-example-tutorial-data-structures-in-python\/&quot;}\uee10{&quot;1&quot;:38}\uee10{&quot;1&quot;:50,&quot;2&quot;:&quot;https:\/\/appdividend.com\/2019\/01\/05\/python-tuple-example-tutorial-complete-introduction-on-tuples\/&quot;}\uee10{&quot;1&quot;:56}\">\n<div>\n<div>It is optional. It can be a dictionary, a list of tuples, bytes or a file object to send to the specified URL.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;json&quot;}\">JSON<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a JSON object to submit to the specified url.&quot;}\" data-sheets-hyperlink=\"https:\/\/appdividend.com\/2019\/01\/10\/how-to-parse-json-in-python-tutorial-example\/\" data-sheets-hyperlinkruns=\"{&quot;1&quot;:24,&quot;2&quot;:&quot;https:\/\/appdividend.com\/2019\/01\/10\/how-to-parse-json-in-python-tutorial-example\/&quot;}\uee10{&quot;1&quot;:28}\">\n<div>\n<div>It is optional. It is a JSON object to submit to the specified URL.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;files&quot;}\">files<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a dictionary of files to send to the specified url.&quot;}\">\n<div>\n<div>It is optional. It is a dictionary of files to send to the specified URL.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;allow_redirects&quot;}\">allow_redirects<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a Boolean to enable\/disable redirection.\\nDefault True (allowing redirects)&quot;}\">\n<div>\n<div>It is optional. It is a Boolean to enable\/disable redirection.<br \/>\nDefault True (allowing redirects)<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;auth&quot;}\">auth<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a tuple to enable secure HTTP authentication.\\nDefault None&quot;}\" data-sheets-hyperlink=\"https:\/\/appdividend.com\/2019\/08\/16\/null-object-in-python-example-python-null-value-tutorial\/\" data-sheets-hyperlinkruns=\"{&quot;1&quot;:76,&quot;2&quot;:&quot;https:\/\/appdividend.com\/2019\/08\/16\/null-object-in-python-example-python-null-value-tutorial\/&quot;}\uee10{&quot;1&quot;:80}\">\n<div>\n<div>It is optional. It is a tuple to enable secure HTTP authentication.<br \/>\nDefault None<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;cert&quot;}\">cert<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a String or Tuple specifying a cert file or key.\\nDefault None&quot;}\" data-sheets-hyperlink=\"https:\/\/appdividend.com\/2019\/07\/20\/python-strings-example-string-in-python-tutorial\/\" data-sheets-hyperlinkruns=\"{&quot;1&quot;:24,&quot;2&quot;:&quot;https:\/\/appdividend.com\/2019\/07\/20\/python-strings-example-string-in-python-tutorial\/&quot;}\uee10{&quot;1&quot;:30}\">\n<div>\n<div>It is optional. It is a String or Tuple specifying a cert file or key.<br \/>\nDefault None<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;cookies&quot;}\">cookies<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a dictionary of cookies to send to the specified url.\\nDefault None&quot;}\">\n<div>\n<div>It is optional. It is a dictionary of cookies to send to the specified URL.<br \/>\nDefault None<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;headers&quot;}\">headers<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is the dictionary of HTTP headers to send to the specified url.\\nDefault None&quot;}\">\n<div>\n<div>It is optional. It is the dictionary of HTTP headers to send to the specified URL.<br \/>\nDefault None<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;proxies&quot;}\">proxies<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a dictionary of the protocol to the proxy url.\\nDefault None&quot;}\">\n<div>\n<div>It is optional. It is a dictionary of the protocol to the proxy URL.<br \/>\nDefault None<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;stream&quot;}\">stream<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. A Boolean value illustrates if the response should be immediately downloaded (False) or streamed (True).\\nDefault False&quot;}\">\n<div>\n<div>It is optional. A Boolean value illustrates if the response should be immediately downloaded (False) or streamed (True).<br \/>\nDefault False<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;timeout&quot;}\">timeout<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a tuple, or number, indicating how many seconds to wait for a client to make the connection and send a response. The default argument is None which means the request will continue until the connection is closed or lost.&quot;}\">\n<div>\n<div>It is optional. It is a tuple, or number, indicating how many seconds to wait for a client to make the connection and send a response. The default argument is None which means the request will continue until the connection is closed or lost.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;verify&quot;}\">verify<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;It is optional. It is a Boolean or a String indication to check the server\u2019s TLS certificate or not.\\nDefault True&quot;}\">\n<div>\n<div>It is optional. It is a Boolean or a String indication to check the server\u2019s TLS certificate or not.<br \/>\nDefault True<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><strong>Key points about Post request<\/strong><\/h4>\n<ul>\n<li>POST requests have no restraints on data length. It can be whatever you want.<\/li>\n<li>POST requests do not live in the browser history.<\/li>\n<li>POST requests are never cached.<\/li>\n<li>POST requests cannot be bookmarked.<\/li>\n<\/ul>\n<h4><strong>Advantages of using the POST Method<\/strong><\/h4>\n<ul>\n<li>It is more secure than GET because user-entered information is never visible in the URL query string or in the server logs.<\/li>\n<li>There is a much larger limit on the amount of data that can be passed and one can send text data as well as binary data (uploading a file) using POST.<\/li>\n<\/ul>\n<h4><strong>Disadvantages of using the POST Method<\/strong><\/h4>\n<ul>\n<li>Since the data sent by the POST method is not visible in the URL, so it is not possible to bookmark the page with a specific query.<\/li>\n<li>POST requests are never cached<\/li>\n<li>POST requests do not remain in the browser history.<\/li>\n<\/ul>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/bit.ly\/3ELmCiA\" target=\"_blank\" rel=\"noopener\">Learn Coding in your Language! Enroll Here!<\/a><\/strong><\/p>\n<p>Entri provides video classes as well on various important topics by the excellent faculties. It also gives you access to clarify your doubts. Entri provides an excellent platform with full-length mock tests including previous year&#8217;s question papers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The requests library is one of the important aspects of Python for making HTTP requests to a specified URL. The post() method is used when we want to send some data to the server. Then the data is stored in the Database. POST Http Method POST is a request method supported by HTTP used by [&hellip;]<\/p>\n","protected":false},"author":81,"featured_media":25539056,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[802,1864,1888],"tags":[],"class_list":["post-25539055","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-data-science-ml","category-python-programming"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>POST Method - Python Requests - Entri Blog<\/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:\/\/entri.app\/blog\/post-method-python-requests\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"POST Method - Python Requests - Entri Blog\" \/>\n<meta property=\"og:description\" content=\"The requests library is one of the important aspects of Python for making HTTP requests to a specified URL. The post() method is used when we want to send some data to the server. Then the data is stored in the Database. POST Http Method POST is a request method supported by HTTP used by [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/entri.app\/blog\/post-method-python-requests\/\" \/>\n<meta property=\"og:site_name\" content=\"Entri Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/entri.me\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-22T18:13:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-19T09:10:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"820\" \/>\n\t<meta property=\"og:image:height\" content=\"615\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Shibani Ghosh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@entri_app\" \/>\n<meta name=\"twitter:site\" content=\"@entri_app\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shibani Ghosh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/\"},\"author\":{\"name\":\"Shibani Ghosh\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/2cfbd0a262fb36f55cb1d95bfc5944b5\"},\"headline\":\"POST Method &#8211; Python Requests\",\"datePublished\":\"2022-08-22T18:13:46+00:00\",\"dateModified\":\"2022-11-19T09:10:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/\"},\"wordCount\":657,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png\",\"articleSection\":[\"Articles\",\"Data Science and Machine Learning\",\"Python Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/entri.app\/blog\/post-method-python-requests\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/\",\"url\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/\",\"name\":\"POST Method - Python Requests - Entri Blog\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png\",\"datePublished\":\"2022-08-22T18:13:46+00:00\",\"dateModified\":\"2022-11-19T09:10:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/entri.app\/blog\/post-method-python-requests\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/#primaryimage\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png\",\"width\":820,\"height\":615},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/entri.app\/blog\/post-method-python-requests\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/entri.app\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python Programming\",\"item\":\"https:\/\/entri.app\/blog\/category\/python-programming\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"POST Method &#8211; Python Requests\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/entri.app\/blog\/#website\",\"url\":\"https:\/\/entri.app\/blog\/\",\"name\":\"Entri Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/entri.app\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/entri.app\/blog\/#organization\",\"name\":\"Entri App\",\"url\":\"https:\/\/entri.app\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"width\":989,\"height\":446,\"caption\":\"Entri App\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/entri.me\/\",\"https:\/\/x.com\/entri_app\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/2cfbd0a262fb36f55cb1d95bfc5944b5\",\"name\":\"Shibani Ghosh\",\"description\":\"Pouring out my thoughts through words!\",\"url\":\"https:\/\/entri.app\/blog\/author\/shibani\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"POST Method - Python Requests - Entri Blog","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:\/\/entri.app\/blog\/post-method-python-requests\/","og_locale":"en_US","og_type":"article","og_title":"POST Method - Python Requests - Entri Blog","og_description":"The requests library is one of the important aspects of Python for making HTTP requests to a specified URL. The post() method is used when we want to send some data to the server. Then the data is stored in the Database. POST Http Method POST is a request method supported by HTTP used by [&hellip;]","og_url":"https:\/\/entri.app\/blog\/post-method-python-requests\/","og_site_name":"Entri Blog","article_publisher":"https:\/\/www.facebook.com\/entri.me\/","article_published_time":"2022-08-22T18:13:46+00:00","article_modified_time":"2022-11-19T09:10:15+00:00","og_image":[{"width":820,"height":615,"url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png","type":"image\/png"}],"author":"Shibani Ghosh","twitter_card":"summary_large_image","twitter_creator":"@entri_app","twitter_site":"@entri_app","twitter_misc":{"Written by":"Shibani Ghosh","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/#article","isPartOf":{"@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/"},"author":{"name":"Shibani Ghosh","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/2cfbd0a262fb36f55cb1d95bfc5944b5"},"headline":"POST Method &#8211; Python Requests","datePublished":"2022-08-22T18:13:46+00:00","dateModified":"2022-11-19T09:10:15+00:00","mainEntityOfPage":{"@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/"},"wordCount":657,"commentCount":0,"publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"image":{"@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png","articleSection":["Articles","Data Science and Machine Learning","Python Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/entri.app\/blog\/post-method-python-requests\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/","url":"https:\/\/entri.app\/blog\/post-method-python-requests\/","name":"POST Method - Python Requests - Entri Blog","isPartOf":{"@id":"https:\/\/entri.app\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/#primaryimage"},"image":{"@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png","datePublished":"2022-08-22T18:13:46+00:00","dateModified":"2022-11-19T09:10:15+00:00","breadcrumb":{"@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/entri.app\/blog\/post-method-python-requests\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/#primaryimage","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2022\/08\/generic-blog-thumbnail-26-1.png","width":820,"height":615},{"@type":"BreadcrumbList","@id":"https:\/\/entri.app\/blog\/post-method-python-requests\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/entri.app\/blog\/"},{"@type":"ListItem","position":2,"name":"Python Programming","item":"https:\/\/entri.app\/blog\/category\/python-programming\/"},{"@type":"ListItem","position":3,"name":"POST Method &#8211; Python Requests"}]},{"@type":"WebSite","@id":"https:\/\/entri.app\/blog\/#website","url":"https:\/\/entri.app\/blog\/","name":"Entri Blog","description":"","publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/entri.app\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/entri.app\/blog\/#organization","name":"Entri App","url":"https:\/\/entri.app\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","width":989,"height":446,"caption":"Entri App"},"image":{"@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/entri.me\/","https:\/\/x.com\/entri_app"]},{"@type":"Person","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/2cfbd0a262fb36f55cb1d95bfc5944b5","name":"Shibani Ghosh","description":"Pouring out my thoughts through words!","url":"https:\/\/entri.app\/blog\/author\/shibani\/"}]}},"_links":{"self":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25539055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/comments?post=25539055"}],"version-history":[{"count":4,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25539055\/revisions"}],"predecessor-version":[{"id":25547308,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25539055\/revisions\/25547308"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media\/25539056"}],"wp:attachment":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media?parent=25539055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/categories?post=25539055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/tags?post=25539055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}