Advertisement
apillai

Untitled

Jan 28th, 2019
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.51 KB | None | 0 0
  1. API Response:
  2. Array
  3. (
  4. [headers] => Requests_Utility_CaseInsensitiveDictionary Object
  5. (
  6. [data:protected] => Array
  7. (
  8. [server] => AppleHttpServer/d4d1d141
  9. [date] => Mon, 28 Jan 2019 20:57:10 GMT
  10. [content-type] => application/json;charset=utf-8
  11. [content-length] => 154
  12. [request-id] => 47605c40-233f-11e9-8399-5bdf77020c83
  13. [x-request-id] => 47605c40-233f-11e9-8399-5bdf77020c83
  14. [x-test-source-environment] => prod
  15. [x-b3-traceid] => 512de8042e3e781a
  16. [strict-transport-security] => max-age=31536000
  17. )
  18.  
  19. )
  20.  
  21. [body] => {"errors":[{"code":"FAILED_TO_PARSE_IMAGE","keyPath":[],"value":"bundle://widgets.js","message":"Failed to parse image with URI [bundle://widgets.js]."}]}
  22. [response] => Array
  23. (
  24. [code] => 400
  25. [message] => Bad Request
  26. )
  27.  
  28. [cookies] => Array
  29. (
  30. )
  31.  
  32. [filename] =>
  33. [http_response] => WP_HTTP_Requests_Response Object
  34. (
  35. [response:protected] => Requests_Response Object
  36. (
  37. [body] => {"errors":[{"code":"FAILED_TO_PARSE_IMAGE","keyPath":[],"value":"bundle://widgets.js","message":"Failed to parse image with URI [bundle://widgets.js]."}]}
  38. [raw] => HTTP/1.1 400 Bad Request
  39. Server: AppleHttpServer/d4d1d141
  40. Date: Mon, 28 Jan 2019 20:57:10 GMT
  41. Content-Type: application/json;charset=utf-8
  42. Content-Length: 154
  43. Connection: close
  44. Request-Id: 47605c40-233f-11e9-8399-5bdf77020c83
  45. X-REQUEST-ID: 47605c40-233f-11e9-8399-5bdf77020c83
  46. X-TEST-SOURCE-ENVIRONMENT: prod
  47. X-B3-TraceId: 512de8042e3e781a
  48. Strict-Transport-Security: max-age=31536000
  49.  
  50. {"errors":[{"code":"FAILED_TO_PARSE_IMAGE","keyPath":[],"value":"bundle://widgets.js","message":"Failed to parse image with URI [bundle://widgets.js]."}]}
  51. [headers] => Requests_Response_Headers Object
  52. (
  53. [data:protected] => Array
  54. (
  55. [server] => Array
  56. (
  57. [0] => AppleHttpServer/d4d1d141
  58. )
  59.  
  60. [date] => Array
  61. (
  62. [0] => Mon, 28 Jan 2019 20:57:10 GMT
  63. )
  64.  
  65. [content-type] => Array
  66. (
  67. [0] => application/json;charset=utf-8
  68. )
  69.  
  70. [content-length] => Array
  71. (
  72. [0] => 154
  73. )
  74.  
  75. [request-id] => Array
  76. (
  77. [0] => 47605c40-233f-11e9-8399-5bdf77020c83
  78. )
  79.  
  80. [x-request-id] => Array
  81. (
  82. [0] => 47605c40-233f-11e9-8399-5bdf77020c83
  83. )
  84.  
  85. [x-test-source-environment] => Array
  86. (
  87. [0] => prod
  88. )
  89.  
  90. [x-b3-traceid] => Array
  91. (
  92. [0] => 512de8042e3e781a
  93. )
  94.  
  95. [strict-transport-security] => Array
  96. (
  97. [0] => max-age=31536000
  98. )
  99.  
  100. )
  101.  
  102. )
  103.  
  104. [status_code] => 400
  105. [protocol_version] => 1.1
  106. [success] =>
  107. [redirects] => 0
  108. [url] => https://news-api.apple.com/channels/3db510ed-b23e-4dd2-9c9b-9cf4c4af4857/articles
  109. [history] => Array
  110. (
  111. )
  112.  
  113. [cookies] => Requests_Cookie_Jar Object
  114. (
  115. [cookies:protected] => Array
  116. (
  117. )
  118.  
  119. )
  120.  
  121. )
  122.  
  123. [filename:protected] =>
  124. [data] =>
  125. [headers] =>
  126. [status] =>
  127. )
  128.  
  129. )
  130.  
  131.  
  132. Request Meta:
  133.  
  134. Array
  135. (
  136. [data] => Array
  137. (
  138. [isPreview] =>
  139. [isHidden] =>
  140. [isSponsored] =>
  141. )
  142.  
  143. )
  144.  
  145.  
  146. Image Settings:
  147.  
  148. Bundled images:
  149. https://platform.twitter.com/widgets.js
  150. https://www.ebony.com/wp-content/uploads/2019/01/gregory_hines.jpg
  151. https://www.ebony.com/wp-content/uploads/2019/01/gregory_hines.jpg
  152.  
  153. JSON:
  154. {"version":"1.7","identifier":"post-131182","language":"en-US","title":"Gregory Hines Honored With Stamp by Postal Service","documentStyle":{"backgroundColor":"#fafafa"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"header","layout":"headerPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"bundle:\/\/gregory_hines.jpg"}],"behavior":{"type":"parallax","factor":0.8000000000000000444089209850062616169452667236328125}},{"role":"container","layout":{"columnSpan":7,"columnStart":0,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#fafafa"},"components":[{"role":"title","text":"Gregory Hines Honored With Stamp by Postal Service","format":"html","textStyle":"default-title","layout":"title-layout"},{"role":"byline","text":"by Christina Santi | Jan 28, 2019 | 1:00 PM","textStyle":"default-byline","layout":"byline-layout"},{"role":"body","text":"<p>The U.S. Postal Service is honoring legendary entertainer <a href=\"https:\/\/www.ebony.com\/tag\/gregory-hines\/\">Gregory Hines<\/a> with a Black Heritage Series Stamp, according to <a href=\"https:\/\/www.hollywoodreporter.com\/news\/postal-service-honors-gregory-hines-black-heritage-series-stamp-1180135\">The Hollywood Reporter<\/a>. <\/p>","format":"html","textStyle":"dropcapBodyStyle","layout":"body-layout"},{"role":"body","text":"<p>The ceremony for the first day of issue was hosted Monday by Gary Barksdale, the acting chief postal inspector, at the Peter Norton Symphony Space in New York.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>Hines was an actor, singer and choreographer who became revered for his unique style of tap dancing. The Postal Service highlighted his contribution to the dance style by using an image of him kneeling and showing off the taps on the bottom of his shoe for the stamp.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"photo","URL":"bundle:\/\/widgets.js","layout":"full-width-image"},{"role":"body","text":"<p>Fellow dance expert Debbie Allen shared the news of the stamp on her Twitter page. \u201cToday marks the issue of the Gregory Hines \u2013 Black Heritage stamp,\u201d she wrote. \u201cGregory Hines\u2019 stamp honors one who is the American Dream and culturally relevant for all time.\u201d<br \/><\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>Hines <a href=\"https:\/\/www.imdb.com\/name\/nm0002138\/?ref_=fn_al_nm_1\">appeared in films<\/a> including <em>The Cotton Clu<\/em>b, <em>White Nights<\/em>, <em>Running Scared<\/em> and <em>Waiting to Exhale<\/em>. In 1997, he had his own series on CBS titled <em>The Gregory Hines Show<\/em>. He was also a recurring character on <em>Will &amp; Grace<\/em>. Two years later, he voiced Big Bill on Nick Jr.\u2019s animated series <em>Little Bill,<\/em> created by Bill Cosby.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>The entertainer died of cancer in 2003. He was 57. <\/p>","format":"html","textStyle":"default-body","layout":"body-layout-last"}]}],"componentTextStyles":{"dropcapBodyStyle":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18,"dropCapStyle":{"numberOfLines":4,"numberOfCharacters":1,"padding":5,"fontName":"AvenirNext-Bold","textColor":"#4f4f4f","numberOfRaisedLines":0}},"default-body":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"tracking":0,"textColor":"#333333","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":13,"lineHeight":24,"tracking":0,"textColor":"#7c7c7c"}},"textStyles":{"default-tag-code":{"fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f"},"default-tag-pre":{"textAlignment":"left","fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f","paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-tag-samp":{"fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f"}},"componentLayouts":{"body-layout":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":12}},"body-layout-last":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":30}},"full-width-image":{"margin":{"bottom":25,"top":25},"columnSpan":7,"columnStart":0},"headerPhotoLayout":{"ignoreDocumentMargin":true,"columnStart":0,"columnSpan":7},"headerBelowTextPhotoLayout":{"ignoreDocumentMargin":true,"columnStart":0,"columnSpan":7,"margin":{"top":30,"bottom":0}},"title-layout":{"margin":{"top":30,"bottom":0}},"byline-layout":{"margin":{"top":10,"bottom":10},"columnStart":0,"columnSpan":7}},"metadata":{"excerpt":"The Tony Award-winning entertainer is being added to the Black Heritage Series Stamp Collection.","thumbnailURL":"bundle:\/\/gregory_hines.jpg","dateCreated":"2019-01-28T19:00:31+00:00","dateModified":"2019-01-28T19:19:32+00:00","datePublished":"2019-01-28T19:00:31+00:00","canonicalURL":"https:\/\/www.ebony.com\/entertainment\/gregory-hines-honored-stamp-postal-service\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.4.3"},"advertisingSettings":{"frequency":1,"layout":{"margin":{"top":15,"bottom":15}}}}
  155.  
  156.  
  157. MIME request:
  158. Authorization: HHMAC; key=29f67755-8fe7-437e-8187-1387489b77bb; signature=8uCWdxYXlZnOEG1OVlM/WJCHfyI5yUl5/nEbh+a/bpY=; date=2019-01-28T20:57:09+00:00
  159. Content-Length: 170137
  160. Content-Type: multipart/form-data; boundary=cf3d4f54858d26de74fad3679e66741a
  161.  
  162. --cf3d4f54858d26de74fad3679e66741a
  163. Content-Type: application/json
  164. Content-Disposition: form-data; name=metadata
  165.  
  166. {"data":{"isPreview":false,"isHidden":false,"isSponsored":false}}
  167. --cf3d4f54858d26de74fad3679e66741a
  168. Content-Type: application/json
  169. Content-Disposition: form-data; name=my_article; filename=article.json; size=5701
  170.  
  171. {"version":"1.7","identifier":"post-131182","language":"en-US","title":"Gregory Hines Honored With Stamp by Postal Service","documentStyle":{"backgroundColor":"#fafafa"},"layout":{"columns":7,"width":1024,"margin":100,"gutter":20},"components":[{"role":"header","layout":"headerPhotoLayout","components":[{"role":"photo","layout":"headerPhotoLayout","URL":"bundle:\/\/gregory_hines.jpg"}],"behavior":{"type":"parallax","factor":0.8000000000000000444089209850062616169452667236328125}},{"role":"container","layout":{"columnSpan":7,"columnStart":0,"ignoreDocumentMargin":true},"style":{"backgroundColor":"#fafafa"},"components":[{"role":"title","text":"Gregory Hines Honored With Stamp by Postal Service","format":"html","textStyle":"default-title","layout":"title-layout"},{"role":"byline","text":"by Christina Santi | Jan 28, 2019 | 1:00 PM","textStyle":"default-byline","layout":"byline-layout"},{"role":"body","text":"<p>The U.S. Postal Service is honoring legendary entertainer <a href=\"https:\/\/www.ebony.com\/tag\/gregory-hines\/\">Gregory Hines<\/a> with a Black Heritage Series Stamp, according to <a href=\"https:\/\/www.hollywoodreporter.com\/news\/postal-service-honors-gregory-hines-black-heritage-series-stamp-1180135\">The Hollywood Reporter<\/a>. <\/p>","format":"html","textStyle":"dropcapBodyStyle","layout":"body-layout"},{"role":"body","text":"<p>The ceremony for the first day of issue was hosted Monday by Gary Barksdale, the acting chief postal inspector, at the Peter Norton Symphony Space in New York.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>Hines was an actor, singer and choreographer who became revered for his unique style of tap dancing. The Postal Service highlighted his contribution to the dance style by using an image of him kneeling and showing off the taps on the bottom of his shoe for the stamp.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"photo","URL":"bundle:\/\/widgets.js","layout":"full-width-image"},{"role":"body","text":"<p>Fellow dance expert Debbie Allen shared the news of the stamp on her Twitter page. \u201cToday marks the issue of the Gregory Hines \u2013 Black Heritage stamp,\u201d she wrote. \u201cGregory Hines\u2019 stamp honors one who is the American Dream and culturally relevant for all time.\u201d<br \/><\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>Hines <a href=\"https:\/\/www.imdb.com\/name\/nm0002138\/?ref_=fn_al_nm_1\">appeared in films<\/a> including <em>The Cotton Clu<\/em>b, <em>White Nights<\/em>, <em>Running Scared<\/em> and <em>Waiting to Exhale<\/em>. In 1997, he had his own series on CBS titled <em>The Gregory Hines Show<\/em>. He was also a recurring character on <em>Will &amp; Grace<\/em>. Two years later, he voiced Big Bill on Nick Jr.\u2019s animated series <em>Little Bill,<\/em> created by Bill Cosby.<\/p>","format":"html","textStyle":"default-body","layout":"body-layout"},{"role":"body","text":"<p>The entertainer died of cancer in 2003. He was 57. <\/p>","format":"html","textStyle":"default-body","layout":"body-layout-last"}]}],"componentTextStyles":{"dropcapBodyStyle":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18,"dropCapStyle":{"numberOfLines":4,"numberOfCharacters":1,"padding":5,"fontName":"AvenirNext-Bold","textColor":"#4f4f4f","numberOfRaisedLines":0}},"default-body":{"textAlignment":"left","fontName":"AvenirNext-Regular","fontSize":18,"tracking":0,"lineHeight":24,"textColor":"#4f4f4f","linkStyle":{"textColor":"#428bca"},"paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-title":{"fontName":"AvenirNext-Bold","fontSize":48,"lineHeight":52,"tracking":0,"textColor":"#333333","textAlignment":"left"},"default-byline":{"textAlignment":"left","fontName":"AvenirNext-Medium","fontSize":13,"lineHeight":24,"tracking":0,"textColor":"#7c7c7c"}},"textStyles":{"default-tag-code":{"fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f"},"default-tag-pre":{"textAlignment":"left","fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f","paragraphSpacingBefore":18,"paragraphSpacingAfter":18},"default-tag-samp":{"fontName":"Menlo-Regular","fontSize":16,"tracking":0,"lineHeight":20,"textColor":"#4f4f4f"}},"componentLayouts":{"body-layout":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":12}},"body-layout-last":{"columnStart":0,"columnSpan":6,"margin":{"top":12,"bottom":30}},"full-width-image":{"margin":{"bottom":25,"top":25},"columnSpan":7,"columnStart":0},"headerPhotoLayout":{"ignoreDocumentMargin":true,"columnStart":0,"columnSpan":7},"headerBelowTextPhotoLayout":{"ignoreDocumentMargin":true,"columnStart":0,"columnSpan":7,"margin":{"top":30,"bottom":0}},"title-layout":{"margin":{"top":30,"bottom":0}},"byline-layout":{"margin":{"top":10,"bottom":10},"columnStart":0,"columnSpan":7}},"metadata":{"excerpt":"The Tony Award-winning entertainer is being added to the Black Heritage Series Stamp Collection.","thumbnailURL":"bundle:\/\/gregory_hines.jpg","dateCreated":"2019-01-28T19:00:31+00:00","dateModified":"2019-01-28T19:19:32+00:00","datePublished":"2019-01-28T19:00:31+00:00","canonicalURL":"https:\/\/www.ebony.com\/entertainment\/gregory-hines-honored-stamp-postal-service\/","generatorIdentifier":"publish-to-apple-news","generatorName":"Publish to Apple News","generatorVersion":"1.4.3"},"advertisingSettings":{"frequency":1,"layout":{"margin":{"top":15,"bottom":15}}}}
  172. --cf3d4f54858d26de74fad3679e66741a
  173. Content-Type: application/octet-stream
  174. Content-Disposition: form-data; name=widgetsjs; filename=widgets.js; size=95222
  175.  
  176. (binary contents of widgets.js)
  177. --cf3d4f54858d26de74fad3679e66741a
  178. Content-Type: application/octet-stream
  179. Content-Disposition: form-data; name=gregory_hinesjpg; filename=gregory_hines.jpg; size=68503
  180.  
  181. (binary contents of gregory_hines.jpg)
  182. --cf3d4f54858d26de74fad3679e66741a--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement