{"id":3495,"date":"2021-09-14T15:37:39","date_gmt":"2021-09-14T15:37:39","guid":{"rendered":"https:\/\/www.petecodes.co.uk\/?p=3495"},"modified":"2021-09-14T15:37:43","modified_gmt":"2021-09-14T15:37:43","slug":"uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman","status":"publish","type":"post","link":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/","title":{"rendered":"Uploading files to Azure Blob Storage using the REST API and Postman"},"content":{"rendered":"\n

There are a plethora of different ways to upload files to blob storage. One of the most convenient is to use the HTTP REST API provided.<\/p>\n\n\n\n

For this example, I’ll be using Postman to complete the operation, but you could very easily use any other method capable of making HTTP requests.<\/p>\n\n\n\n

Prepare Blob Storage Access<\/h2>\n\n\n\n

The first thing we need to do is to allow access to Postman to be able to upload the file.<\/p>\n\n\n\n

We’ll be making us of the Shared Access Signature or SAS Method of authorisation here.<\/p>\n\n\n\n

From your Storage Account page in the portal, click the “Shared access signature” menu item;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Shared Access Signature Menu Item<\/figcaption><\/figure><\/div>\n\n\n\n

From here we can create a new Shared Access Signature Key;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Shared Access Signature Page<\/figcaption><\/figure><\/div>\n\n\n\n

We want to give Postman enough privileges to be able to and and create blobs within containers.<\/p>\n\n\n\n

For “Allowed Services”, deselect “Queue” and “Table” from the options, leaving “Blob” and “File” selected;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Shared Access Signature – Allowed Services<\/figcaption><\/figure><\/div>\n\n\n\n

For “Allowed Resource Types”, selected just “Object”;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Shared Access Signature – Allowed Resource Types<\/figcaption><\/figure><\/div>\n\n\n\n

For “Allowed Permissions”, select only “Write”, “Add” and “Create”;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Shared Access Signature – Allowed Permissions<\/figcaption><\/figure><\/div>\n\n\n\n

We can leave “Blob Versioning Permissions” and “Allowed Blog Index Permissions” at their default of selected for this example.<\/p>\n\n\n\n

For “Start and expiry date\/time”, I’ve chosen to set this SAS to be valid for one year by setting the expiry to be one year from the start date;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Shared Access Signature – Validity<\/figcaption><\/figure><\/div>\n\n\n\n

Leave the “IP addresses”, “Allowed Protocols”, “Preferred Routing Tier” and Signing Key at their defaults.<\/p>\n\n\n\n

We can now hit the blue “Generate SAS and Connection String” button to generate our authorization values;<\/p>\n\n\n\n

<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Shared Access Signature – SAS and Connection Strings<\/figcaption><\/figure><\/div>\n\n\n\n

We’ll be copying the “Blob service SAS URL”, so hit the copy button to the right of that box;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Shared Access Signature – Blob Service SAS URL<\/figcaption><\/figure><\/div>\n\n\n\n

Create a Container<\/h2>\n\n\n\n

Next we need a container to house our file when we upload it.<\/p>\n\n\n\n

Click on the “Containers” menu item on the left;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Containers Menu Item<\/figcaption><\/figure><\/div>\n\n\n\n

Click the “+ Container” button;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Add Container<\/figcaption><\/figure><\/div>\n\n\n\n

Give your container a name, I’ve chosen “fileuploads”;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Add Container Options<\/figcaption><\/figure><\/div>\n\n\n\n

Hit the blue “Create” button to create your container.<\/p>\n\n\n\n

Sending a PUT request using Postman<\/h2>\n\n\n\n

We can now use Postman to upload our file to our new container using the SAS key we’ve generated.<\/p>\n\n\n\n

First, create yourself a simple text file somewhere on your hard drive… I created a file called “test1.txt”. Stick some simple text in it… I added “Hello!” to my file.<\/p>\n\n\n\n

\"\"<\/a>
Windows – Create test file for uploading<\/figcaption><\/figure><\/div>\n\n\n\n

Open up Postman and hit the “+ New” button;<\/p>\n\n\n\n

\"\"<\/a>
Postman “+ New” Button<\/figcaption><\/figure><\/div>\n\n\n\n

Choose the “Request” option;<\/p>\n\n\n\n

\"\"<\/a>
Postman – New Request<\/figcaption><\/figure><\/div>\n\n\n\n

Give your request a name, I chose “Upload File to Blob Storage”, and select an existing collection, or click the “+ Create Folder” link and create a new collection. Then hit the “Save to xxx” button to save the request;<\/p>\n\n\n\n

\"\"<\/a>
Postman – Save Request Dialog<\/figcaption><\/figure><\/div>\n\n\n\n

From the “Method” drop down select the “PUT” Method;<\/p>\n\n\n\n

\"\"<\/a><\/figure><\/div>\n\n\n\n

Select the “Auth” tab below the “Method” drop down. From here, select “API Key” as the Type, then add a “Key” of “x-ms-blob-type” and a value of “BlockBlob”;<\/p>\n\n\n\n

\"\"<\/a>
Postman – Authorisation Header<\/figcaption><\/figure><\/div>\n\n\n\n

Click the “Body” tab. Select “binary” as the type, which will show us a “Select File” button;<\/p>\n\n\n\n

\"\"<\/a>
Postman – Binary Body Type<\/figcaption><\/figure><\/div>\n\n\n\n

Click the “Select File” button and choose the text file you created earlier. the “Select File” button will be replaced with the name of your file;<\/p>\n\n\n\n

\"\"<\/a>
Postman – Selected Body File<\/figcaption><\/figure>\n\n\n\n

Next, paste in the “Blob Service SAS URL” value you copied earlier into the “Enter request URL” box;<\/p>\n\n\n\n

\"\"<\/a>
Postman – Paste “Blob Service SAS URL” into Request URL Box <\/figcaption><\/figure><\/div>\n\n\n\n

We now need to add in some information into the “Blob Service SAS URL” value we in order to select the container we’d like to upload our file into, and also give our uploaded file a name.<\/p>\n\n\n\n

Our copied value will look something like this (I’ve randomised some values here of course;<\/p>\n\n\n\n

https://mystorageaccount.blob.core.windows.net\/?sv=2020-08-04&ss=bf&srt=o&sp=wactfx&se=2022-09-14T23:04:32Z&st=2021-09-14T15:04:32Z&spr=https&sig=xhfdhfhdfjkhfiufhuiHKJHrehuierhf%3D<\/code><\/pre>\n\n\n\n

After the “blob.core.windows.net\/” section, add in the name of your container (I chose “fileuploads”), and the filename you’d like to give your file (I chose “test1.txt”);<\/p>\n\n\n\n

https:\/\/mystorageaccount.blob.core.windows.net\/fileuploads\/test1.txt<\/strong>?sv=2020-08-04&ss=bf&srt=o&sp=wactfx&se=2022-09-14T23:04:32Z&st=2021-09-14T15:04:32Z&spr=https&sig=xhfdhfhdfjkhfiufhuiHKJHrehuierhf%3D<\/code><\/pre>\n\n\n\n

With that, you should now be able to hit the “SEND” button to upload your file, all being well, you should see a “201 Created” response in green at the bottom of the Postman window;<\/p>\n\n\n\n

\"\"<\/a>
Postman – “201 Created” response<\/figcaption><\/figure><\/div>\n\n\n\n

Checking that our file was uploaded<\/h2>\n\n\n\n

If we head back to the portal and our “Containers” page, we can click on our “fileuploads” container;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – “fileuploads” container link<\/figcaption><\/figure><\/div>\n\n\n\n

We should then see our newly uploaded “test1.txt” file;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – “test1.txt” file<\/figcaption><\/figure><\/div>\n\n\n\n

If we click on that file, we can click the “Edit” tab to view it’s contents;<\/p>\n\n\n\n

\"\"<\/a>
Azure Portal – Storage – Edit File Tab<\/figcaption><\/figure><\/div>\n\n\n\n

And with that, we’ve uploaded a file to blob storage using the REST API and Postman.<\/p>\n","protected":false},"excerpt":{"rendered":"

There are a plethora of different ways to upload files to blob storage. One of the most convenient is to…<\/p>\n","protected":false},"author":1,"featured_media":3527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[15,43,44,45],"acf":[],"aioseo_notices":[],"yoast_head":"\nUploading files to Azure Blob Storage using the REST API and Postman - Pete Codes<\/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.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Uploading files to Azure Blob Storage using the REST API and Postman\" \/>\n<meta property=\"og:description\" content=\"In this post I show you how to upload a text file to Azure Blob Storage using SAS Authentication and Postman\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/\" \/>\n<meta property=\"og:site_name\" content=\"Pete Codes\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-14T15:37:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-14T15:37:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"PeteCodes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Uploading files to Azure Blob Storage using the REST API and Postman\" \/>\n<meta name=\"twitter:description\" content=\"In this post I show you how to upload a text file to Azure Blob Storage using SAS Authentication and Postman\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"PeteCodes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/\"},\"author\":{\"name\":\"PeteCodes\",\"@id\":\"https:\/\/www.petecodes.co.uk\/#\/schema\/person\/c2f636f242b064676ae61ed0022b32e7\"},\"headline\":\"Uploading files to Azure Blob Storage using the REST API and Postman\",\"datePublished\":\"2021-09-14T15:37:39+00:00\",\"dateModified\":\"2021-09-14T15:37:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/\"},\"wordCount\":893,\"publisher\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png\",\"keywords\":[\"Azure\",\"Blob Storage\",\"Postman\",\"REST\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/\",\"url\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/\",\"name\":\"Uploading files to Azure Blob Storage using the REST API and Postman - Pete Codes\",\"isPartOf\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png\",\"datePublished\":\"2021-09-14T15:37:39+00:00\",\"dateModified\":\"2021-09-14T15:37:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#primaryimage\",\"url\":\"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png\",\"contentUrl\":\"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.petecodes.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Uploading files to Azure Blob Storage using the REST API and Postman\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.petecodes.co.uk\/#website\",\"url\":\"https:\/\/www.petecodes.co.uk\/\",\"name\":\"Pete Codes\",\"description\":\"Pete Gallagher - Developer and Public Speaker\",\"publisher\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.petecodes.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.petecodes.co.uk\/#organization\",\"name\":\"Pete Codes\",\"url\":\"https:\/\/www.petecodes.co.uk\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.petecodes.co.uk\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2020\/06\/Logo-Small-Optimised.png\",\"contentUrl\":\"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2020\/06\/Logo-Small-Optimised.png\",\"width\":189,\"height\":100,\"caption\":\"Pete Codes\"},\"image\":{\"@id\":\"https:\/\/www.petecodes.co.uk\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.petecodes.co.uk\/#\/schema\/person\/c2f636f242b064676ae61ed0022b32e7\",\"name\":\"PeteCodes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.petecodes.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/969dc1e441e755dd7d1f90da569dc913?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/969dc1e441e755dd7d1f90da569dc913?s=96&d=mm&r=g\",\"caption\":\"PeteCodes\"},\"sameAs\":[\"https:\/\/wordpress-634681-2064240.cloudwaysapps.com\"],\"url\":\"https:\/\/www.petecodes.co.uk\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Uploading files to Azure Blob Storage using the REST API and Postman - Pete Codes","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.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/","og_locale":"en_US","og_type":"article","og_title":"Uploading files to Azure Blob Storage using the REST API and Postman","og_description":"In this post I show you how to upload a text file to Azure Blob Storage using SAS Authentication and Postman","og_url":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/","og_site_name":"Pete Codes","article_published_time":"2021-09-14T15:37:39+00:00","article_modified_time":"2021-09-14T15:37:43+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png","type":"image\/png"}],"author":"PeteCodes","twitter_card":"summary_large_image","twitter_title":"Uploading files to Azure Blob Storage using the REST API and Postman","twitter_description":"In this post I show you how to upload a text file to Azure Blob Storage using SAS Authentication and Postman","twitter_image":"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png","twitter_misc":{"Written by":"PeteCodes","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#article","isPartOf":{"@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/"},"author":{"name":"PeteCodes","@id":"https:\/\/www.petecodes.co.uk\/#\/schema\/person\/c2f636f242b064676ae61ed0022b32e7"},"headline":"Uploading files to Azure Blob Storage using the REST API and Postman","datePublished":"2021-09-14T15:37:39+00:00","dateModified":"2021-09-14T15:37:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/"},"wordCount":893,"publisher":{"@id":"https:\/\/www.petecodes.co.uk\/#organization"},"image":{"@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#primaryimage"},"thumbnailUrl":"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png","keywords":["Azure","Blob Storage","Postman","REST"],"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/","url":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/","name":"Uploading files to Azure Blob Storage using the REST API and Postman - Pete Codes","isPartOf":{"@id":"https:\/\/www.petecodes.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#primaryimage"},"image":{"@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#primaryimage"},"thumbnailUrl":"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png","datePublished":"2021-09-14T15:37:39+00:00","dateModified":"2021-09-14T15:37:43+00:00","breadcrumb":{"@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#primaryimage","url":"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png","contentUrl":"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2021\/09\/TitleImage2.png","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/www.petecodes.co.uk\/uploading-files-to-azure-blob-storage-using-the-rest-api-and-postman\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.petecodes.co.uk\/"},{"@type":"ListItem","position":2,"name":"Uploading files to Azure Blob Storage using the REST API and Postman"}]},{"@type":"WebSite","@id":"https:\/\/www.petecodes.co.uk\/#website","url":"https:\/\/www.petecodes.co.uk\/","name":"Pete Codes","description":"Pete Gallagher - Developer and Public Speaker","publisher":{"@id":"https:\/\/www.petecodes.co.uk\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.petecodes.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.petecodes.co.uk\/#organization","name":"Pete Codes","url":"https:\/\/www.petecodes.co.uk\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.petecodes.co.uk\/#\/schema\/logo\/image\/","url":"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2020\/06\/Logo-Small-Optimised.png","contentUrl":"https:\/\/www.petecodes.co.uk\/wp-content\/uploads\/2020\/06\/Logo-Small-Optimised.png","width":189,"height":100,"caption":"Pete Codes"},"image":{"@id":"https:\/\/www.petecodes.co.uk\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.petecodes.co.uk\/#\/schema\/person\/c2f636f242b064676ae61ed0022b32e7","name":"PeteCodes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.petecodes.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/969dc1e441e755dd7d1f90da569dc913?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/969dc1e441e755dd7d1f90da569dc913?s=96&d=mm&r=g","caption":"PeteCodes"},"sameAs":["https:\/\/wordpress-634681-2064240.cloudwaysapps.com"],"url":"https:\/\/www.petecodes.co.uk\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/posts\/3495"}],"collection":[{"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/comments?post=3495"}],"version-history":[{"count":0,"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/posts\/3495\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/media\/3527"}],"wp:attachment":[{"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/media?parent=3495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/categories?post=3495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.petecodes.co.uk\/wp-json\/wp\/v2\/tags?post=3495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}