{"id":33395,"date":"2018-02-06T17:28:00","date_gmt":"2018-02-06T15:28:00","guid":{"rendered":"https:\/\/www.spreadshop.com\/de\/blog\/?p=33395"},"modified":"2025-01-21T17:44:18","modified_gmt":"2025-01-21T16:44:18","slug":"aenderung-der-api-benutzung-implementierung","status":"publish","type":"post","link":"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/","title":{"rendered":"\u00c4nderung der API-Benutzung &#8211; Implementierung"},"content":{"rendered":"<div>Ab 12.2. wird unser API, <a href=\"https:\/\/www.spreadshirt.de\/blog\/2017\/12\/21\/aenderung-der-api-benutzung\/\" target=\"_blank\" rel=\"noopener noreferrer\">wie Ende Dezember angek\u00fcndigt<\/a>, nur noch mit einem g\u00fcltigen API-Key und User-Agent und nur noch \u00fcber HTTPS erreichbar sein.<\/div>\n<div><\/div>\n<p><!--more--><\/p>\n<div>Um zu testen, ob euer Client schon kompatibel ist, k\u00f6nnt ihr aktuell f\u00fcr eure Anfragen den X-Api-Key-Test-Header mitschicken.<\/div>\n<div><\/div>\n<div><strong>Test ohne Header:<\/strong><\/div>\n<div><\/div>\n<div>curl -v &#8216;http:\/\/api.spreadshirt.net\/api\/v1\/shops\/205909&#8217;<\/div>\n<div><\/div>\n<div><strong>Test mit Header:<\/strong><\/div>\n<div><\/div>\n<div>curl -H &#8216;X-Api-Key-Test: yes&#8217; &#8216;http:\/\/api.spreadshirt.net\/api\/v1\/shops\/205909&#8217;<\/div>\n<div><\/div>\n<div><strong>Damit es funktionert:<\/strong><\/div>\n<div><\/div>\n<ul>\n<li>stellt eure Anfragen \u00fcber HTTPS, damit sie in Zukunft verschl\u00fcsselt werden,<\/li>\n<li>setzt einen User-Agent-Header, der auch eine Information zu eurer Domain enth\u00e4lt,<\/li>\n<li>schickt einen API-Key mit &#8211; idealer Weise \u00fcber den Authorization-Header, damit er verschl\u00fcsselt geschickt wird.<\/li>\n<\/ul>\n<div>Bitte stellt sicher, dass in Zukunft alle Requests diesen Kriterien entsprechen und das bis zum 12.2. alles funktioniert.<\/div>\n<div class=\"shariff shariff-align-flex-start shariff-widget-align-flex-start\">\n<div class=\"ShariffHeadline\">\n<h3 class=\"shariff_headline\">Teile diesen Beitrag<\/h3>\n<\/div>\n<ul class=\"shariff-buttons theme-default orientation-horizontal buttonsize-small\">\n<li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.spreadshop.com%2Fblog%2Fde%2F2018%2F02%2F06%2Faenderung-der-api-benutzung-implementierung%2F\" title=\"Bei Facebook teilen\" aria-label=\"Bei Facebook teilen\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"><\/path><\/svg><\/span><span class=\"shariff-text\">teilen<\/span>&nbsp;<\/a><\/li>\n<li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.spreadshop.com%2Fblog%2Fde%2F2018%2F02%2F06%2Faenderung-der-api-benutzung-implementierung%2F&text=%C3%84nderung%20der%20API-Benutzung%20%E2%80%93%20Implementierung\" title=\"Bei X teilen\" aria-label=\"Bei X teilen\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"><\/path><\/svg><\/span><span class=\"shariff-text\">teilen<\/span>&nbsp;<\/a><\/li>\n<li class=\"shariff-button pinterest shariff-nocustomcolor\" style=\"background-color:#e70f18\"><a href=\"https:\/\/www.pinterest.com\/pin\/create\/link\/?url=https%3A%2F%2Fwww.spreadshop.com%2Fblog%2Fde%2F2018%2F02%2F06%2Faenderung-der-api-benutzung-implementierung%2F&media=https%3A%2F%2Fwww.spreadshop.com%2Fblog%2Fde%2Ffiles%2F2021%2F06%2FMDS-637-BP-API-changes-4.png&description=%C3%84nderung%20der%20API-Benutzung%20%E2%80%93%20Implementierung\" title=\"Bei Pinterest pinnen\" aria-label=\"Bei Pinterest pinnen\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#cb2027; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#cb2027\" d=\"M27.4 16q0 3.7-1.8 6.9t-5 5-6.9 1.9q-2 0-3.9-0.6 1.1-1.7 1.4-2.9 0.2-0.6 1-3.8 0.4 0.7 1.3 1.2t2 0.5q2.1 0 3.8-1.2t2.7-3.4 0.9-4.8q0-2-1.1-3.8t-3.1-2.9-4.5-1.2q-1.9 0-3.5 0.5t-2.8 1.4-2 2-1.2 2.3-0.4 2.4q0 1.9 0.7 3.3t2.1 2q0.5 0.2 0.7-0.4 0-0.1 0.1-0.5t0.2-0.5q0.1-0.4-0.2-0.8-0.9-1.1-0.9-2.7 0-2.7 1.9-4.6t4.9-2q2.7 0 4.2 1.5t1.5 3.8q0 3-1.2 5.2t-3.1 2.1q-1.1 0-1.7-0.8t-0.4-1.9q0.1-0.6 0.5-1.7t0.5-1.8 0.2-1.4q0-0.9-0.5-1.5t-1.4-0.6q-1.1 0-1.9 1t-0.8 2.6q0 1.3 0.4 2.2l-1.8 7.5q-0.3 1.2-0.2 3.2-3.7-1.6-6-5t-2.3-7.6q0-3.7 1.9-6.9t5-5 6.9-1.9 6.9 1.9 5 5 1.8 6.9z\"><\/path><\/svg><\/span><span class=\"shariff-text\">merken<\/span>&nbsp;<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ab 12.2. wird unser API, wie Ende Dezember angek\u00fcndigt, nur noch mit einem g\u00fcltigen API-Key und User-Agent und nur noch \u00fcber HTTPS erreichbar sein.  <a href=\"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/\">Weiterlesen<\/a><\/p>\n","protected":false},"author":674,"featured_media":33282,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"publish_to_discourse":"0","publish_post_category":"1","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"","discourse_permalink":"","wpdc_publishing_response":"","wpdc_publishing_error":"","_cloudinary_featured_overwrite":false},"categories":[2381],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.7.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u00c4nderung der API-Benutzung - Implementierung | Das Spreadshop Blog<\/title>\n<meta name=\"description\" content=\"Um zu testen, ob euer Client schon kompatibel ist, k\u00f6nnt ihr aktuell f\u00fcr eure Anfragen den X-Api-Key-Test-Header mitschicken.\" \/>\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.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00c4nderung der API-Benutzung - Implementierung | Das Spreadshop Blog\" \/>\n<meta property=\"og:description\" content=\"Um zu testen, ob euer Client schon kompatibel ist, k\u00f6nnt ihr aktuell f\u00fcr eure Anfragen den X-Api-Key-Test-Header mitschicken.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/\" \/>\n<meta property=\"og:site_name\" content=\"Das Spreadshop Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-06T15:28:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-21T16:44:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/images.spreadshop.com\/images\/f_auto,q_auto\/v1513860471\/blog\/Article\/General\/MDS-637-BP-API-changes\/MDS-637-BP-API-changes.png?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"1400\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lena\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lena\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/\",\"url\":\"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/\",\"name\":\"\u00c4nderung der API-Benutzung - Implementierung | Das Spreadshop Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.spreadshop.com\/de\/blog\/#website\"},\"datePublished\":\"2018-02-06T15:28:00+00:00\",\"dateModified\":\"2025-01-21T16:44:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.spreadshop.com\/de\/blog\/#\/schema\/person\/678cee42723a944607e63a9022f5f176\"},\"description\":\"Um zu testen, ob euer Client schon kompatibel ist, k\u00f6nnt ihr aktuell f\u00fcr eure Anfragen den X-Api-Key-Test-Header mitschicken.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.spreadshop.com\/de\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u00c4nderung der API-Benutzung &#8211; Implementierung\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.spreadshop.com\/de\/blog\/#website\",\"url\":\"https:\/\/www.spreadshop.com\/de\/blog\/\",\"name\":\"Das Spreadshop Blog\",\"description\":\"Alles was Du \u00fcber Spreadshop wissen musst\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.spreadshop.com\/de\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.spreadshop.com\/de\/blog\/#\/schema\/person\/678cee42723a944607e63a9022f5f176\",\"name\":\"Lena\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/www.spreadshop.com\/de\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/71eefd0047a3453eaab1f9820b27a885?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/71eefd0047a3453eaab1f9820b27a885?s=96&d=mm&r=g\",\"caption\":\"Lena\"},\"description\":\"Community Manager\",\"url\":\"https:\/\/www.spreadshop.com\/de\/blog\/author\/Lena Reth\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u00c4nderung der API-Benutzung - Implementierung | Das Spreadshop Blog","description":"Um zu testen, ob euer Client schon kompatibel ist, k\u00f6nnt ihr aktuell f\u00fcr eure Anfragen den X-Api-Key-Test-Header mitschicken.","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.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/","og_locale":"de_DE","og_type":"article","og_title":"\u00c4nderung der API-Benutzung - Implementierung | Das Spreadshop Blog","og_description":"Um zu testen, ob euer Client schon kompatibel ist, k\u00f6nnt ihr aktuell f\u00fcr eure Anfragen den X-Api-Key-Test-Header mitschicken.","og_url":"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/","og_site_name":"Das Spreadshop Blog","article_published_time":"2018-02-06T15:28:00+00:00","article_modified_time":"2025-01-21T16:44:18+00:00","og_image":[{"width":1400,"height":800,"url":"https:\/\/images.spreadshop.com\/images\/f_auto,q_auto\/v1513860471\/blog\/Article\/General\/MDS-637-BP-API-changes\/MDS-637-BP-API-changes.png?_i=AA","type":"image\/png"}],"author":"Lena","twitter_misc":{"Verfasst von":"Lena","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/","url":"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/","name":"\u00c4nderung der API-Benutzung - Implementierung | Das Spreadshop Blog","isPartOf":{"@id":"https:\/\/www.spreadshop.com\/de\/blog\/#website"},"datePublished":"2018-02-06T15:28:00+00:00","dateModified":"2025-01-21T16:44:18+00:00","author":{"@id":"https:\/\/www.spreadshop.com\/de\/blog\/#\/schema\/person\/678cee42723a944607e63a9022f5f176"},"description":"Um zu testen, ob euer Client schon kompatibel ist, k\u00f6nnt ihr aktuell f\u00fcr eure Anfragen den X-Api-Key-Test-Header mitschicken.","breadcrumb":{"@id":"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.spreadshop.com\/de\/blog\/2018\/02\/06\/aenderung-der-api-benutzung-implementierung\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.spreadshop.com\/de\/blog\/"},{"@type":"ListItem","position":2,"name":"\u00c4nderung der API-Benutzung &#8211; Implementierung"}]},{"@type":"WebSite","@id":"https:\/\/www.spreadshop.com\/de\/blog\/#website","url":"https:\/\/www.spreadshop.com\/de\/blog\/","name":"Das Spreadshop Blog","description":"Alles was Du \u00fcber Spreadshop wissen musst","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.spreadshop.com\/de\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/www.spreadshop.com\/de\/blog\/#\/schema\/person\/678cee42723a944607e63a9022f5f176","name":"Lena","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/www.spreadshop.com\/de\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/71eefd0047a3453eaab1f9820b27a885?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/71eefd0047a3453eaab1f9820b27a885?s=96&d=mm&r=g","caption":"Lena"},"description":"Community Manager","url":"https:\/\/www.spreadshop.com\/de\/blog\/author\/Lena Reth\/"}]}},"_links":{"self":[{"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/posts\/33395"}],"collection":[{"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/users\/674"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/comments?post=33395"}],"version-history":[{"count":5,"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/posts\/33395\/revisions"}],"predecessor-version":[{"id":42484,"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/posts\/33395\/revisions\/42484"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/media\/33282"}],"wp:attachment":[{"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/media?parent=33395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/categories?post=33395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spreadshop.com\/de\/blog\/wp-json\/wp\/v2\/tags?post=33395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}