{"id":10666,"date":"2016-03-27T16:33:27","date_gmt":"2016-03-27T14:33:27","guid":{"rendered":"http:\/\/flaven.fr\/?p=10666"},"modified":"2016-03-27T16:33:27","modified_gmt":"2016-03-27T14:33:27","slug":"postman-api-utiliser-postman-pour-manipuler-une-api","status":"publish","type":"post","link":"https:\/\/flaven.fr\/2016\/03\/postman-api-utiliser-postman-pour-manipuler-une-api\/","title":{"rendered":"Postman, API &#8211; Utiliser Postman pour manipuler une API"},"content":{"rendered":"<p>De plus en plus de site ou d&#8217;applications s&#8217;appuient sur des APIs, c&#8217;est presque une banalit\u00e9 que d&#8217;\u00e9noncer que ce d\u00e9placement est in\u00e9luctable.<br \/>\nPour manipuler une API, vous ne manquerez de vous faire assister par la meilleur outil \u00e0 ce jours disponible sur le march\u00e9 : Postman. <\/p>\n<p><b>Il existe une extension Chrome ou un application pour mac uniquement. Le fonctionnement des deux est rigoureusement le m\u00eame.<\/b><\/p>\n<p>Postman offre de tr\u00e8s nombreuses possibilit\u00e9s pour manipuler une API, conserver l&#8217;ensemble des requ\u00eates dont vous savez constamment besoin, les sauvegarder voir les partager, enregistrer des variables afin de simplifier la saisie des valeurs n\u00e9cessaires \u00e0 jeu de requ\u00eates&#8230; etc. Bref, c&#8217;est l&#8217;outil le plus abouti et le plus intuitif pour s&#8217;affranchir de la complexit\u00e9 inh\u00e9rente \u00e0 la manipulation d&#8217;une API.<\/p>\n<p><b>L&#8217;extension chrome de Postman, accessible depuis <code>chrome:\/\/apps\/<\/code><\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2016\/03\/using_postman_1.jpg\" width=\"640\" height=\"480\" alt=\" Postman, API - Utiliser Postman pour manipuler une API\"><\/p>\n<p><b>La possibilit\u00e9 de g\u00e9rer diff\u00e9rents environnements, notamment les donn\u00e9es de connexions \u00e0 diff\u00e9rentes API.<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2016\/03\/using_postman_2.jpg\" width=\"640\" height=\"480\" alt=\" Postman, API - Utiliser Postman pour manipuler une API\"><\/p>\n<p><b>Les requ\u00eates pourront ensuite pass\u00e9es \u00e0 l&#8217;aide de variable de ce type <code>{{client_id}}<\/code>, <code>{{secret_key}}<\/code><\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2016\/03\/using_postman_3.jpg\" width=\"640\" height=\"480\" alt=\" Postman, API - Utiliser Postman pour manipuler une API\"><\/p>\n<p><b>Il est possible de g\u00e9n\u00e9rer la requ\u00eate pass\u00e9e dans Postam dans un autre format cURL par exemple.<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2016\/03\/using_postman_4.jpg\" width=\"640\" height=\"480\" alt=\" Postman, API - Utiliser Postman pour manipuler une API\"><\/p>\n<p><b>Exporter au format JSON, un jeu de requ\u00eates.<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2016\/03\/using_postman_5.jpg\" width=\"640\" height=\"480\" alt=\" Postman, API - Utiliser Postman pour manipuler une API\"><\/p>\n<h2>En savoir plus<\/h2>\n<ul>\n<li>Download the Postman App (it&#8217;s free)<br \/><a href=\"https:\/\/www.getpostman.com\/apps\" target=\"_blank\">https:\/\/www.getpostman.com\/apps<\/a><\/li>\n<li>Postman Rest API demo<br \/><a href=\"https:\/\/www.youtube.com\/watch?v=JZP2ose-OBQ\" target=\"_blank\">https:\/\/www.youtube.com\/watch?v=JZP2ose-OBQ<\/a><\/li>\n<li>POSTMAN RESTful API testing app demo<br \/><a href=\"https:\/\/www.youtube.com\/watch?v=O6la-NJYiu8\" target=\"_blank\">https:\/\/www.youtube.com\/watch?v=O6la-NJYiu8<\/a><\/li>\n<li>#8: Using Postman to test your Web API<br \/><a href=\"https:\/\/www.youtube.com\/watch?v=-pBnP14IxiI\" target=\"_blank\">https:\/\/www.youtube.com\/watch?v=-pBnP14IxiI<\/a><\/li>\n<li>Tutorials and Blog posts<br \/><a href=\"https:\/\/www.getpostman.com\/docs\/blog_mentions\" target=\"_blank\">https:\/\/www.getpostman.com\/docs\/blog_mentions<\/a><\/li>\n<li>Importing RAML folders in Postman<br \/><a href=\"http:\/\/blog.getpostman.com\/2015\/11\/04\/supporting-raml-folders-in-postman\/\" target=\"_blank\">http:\/\/blog.getpostman.com\/2015\/11\/04\/supporting-raml-folders-in-postman\/<\/a><\/li>\n<li>raml-apis\/GitHub<br \/><a href=\"https:\/\/github.com\/raml-apis\/GitHub\" target=\"_blank\">https:\/\/github.com\/raml-apis\/GitHub<\/a><\/li>\n<li>Creating cURL commands in Postman<br \/><a href=\"http:\/\/www.getpostman.com\/docs\/creating_curl\" target=\"_blank\">http:\/\/www.getpostman.com\/docs\/creating_curl<\/a><\/li>\n<li>Command-line utility for Postman<br \/><a href=\"https:\/\/www.npmjs.com\/package\/newman\" target=\"_blank\">https:\/\/www.npmjs.com\/package\/newman<\/a><\/li>\n<li>How to write powerful automated API tests with Postman, Newman and Jenkins<br \/><a href=\"http:\/\/blog.getpostman.com\/2015\/09\/03\/how-to-write-powerful-automated-api-tests-with-postman-newman-and-jenkins\/\" target=\"_blank\">http:\/\/blog.getpostman.com\/2015\/09\/03\/how-to-write-powerful-automated-api-tests-with-postman-newman-and-jenkins\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>De plus en plus de site ou d&#8217;applications s&#8217;appuient sur des APIs, c&#8217;est presque une banalit\u00e9 que d&#8217;\u00e9noncer que ce d\u00e9placement est in\u00e9luctable. Pour manipuler&hellip; <\/p>\n<p class=\"text-center\"><a href=\"https:\/\/flaven.fr\/2016\/03\/postman-api-utiliser-postman-pour-manipuler-une-api\/\" class=\"more-link\">Continue reading &rarr; <span class=\"screen-reader-text\">Postman, API &#8211; Utiliser Postman pour manipuler une API<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":10672,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bf_ai_meta_description":"Postman simplifies API manipulation with tools to save, share, and automate requests. Master API handling with this intuitive solution.","bf_ai_og_title":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3439,3437,3454,3444,3447,3448,3449,3450,3435,3452],"tags":[2183,508,2322,512],"class_list":["post-10666","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apis-integration","category-business-case-studies","category-journalism-writing","category-programming-databases","category-technology-trends","category-tools-productivity","category-tutorials-how-to","category-ux-product-design","category-web-development","category-wordpress-cms","tag-api","tag-janrain","tag-postman","tag-sso"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Vuhl-2M2","jetpack_featured_media_url":"https:\/\/flaven.fr\/wp-content\/uploads\/2016\/03\/using_postman_b.jpg","_links":{"self":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/10666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/comments?post=10666"}],"version-history":[{"count":2,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/10666\/revisions"}],"predecessor-version":[{"id":10674,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/10666\/revisions\/10674"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media\/10672"}],"wp:attachment":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media?parent=10666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/categories?post=10666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/tags?post=10666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}