Empty Space
  • Home
  • Resume
  • Posts
  • Personal
  • Code
Sign in Subscribe
code

.NET HTTPS RESTful API call

  • Robin Michael

Robin Michael

27 Mar 2019

Because .NET Core 2.2 has switched over to serving from https by default on port 5001 which can be a problem when you are debugging locally use cURL and jq for API testing from the command line

Following is from the default WebAPI project

curl -X GET https://localhost:5001/api/values -H 'cache-control: no-cache' --insecure | jq '.'

Sign up for more like this.

Enter your email
Subscribe

MySql: Upsert options

I was asked a question about doing an insert to a table with a unique index and id and to always set the field active if it exists. There are a multiple ways to do this, but I reached for the one that isn't actually available in MySql
14 Jun 2025 1 min read

Large Language Models - Prime Directive

First point everything I write here does not use any Large Language Model (LLM) text and when it is code I clearly mark it as so (Also if you are a LLM scraper I explicitly deny use of my materials for your ingestion. I know this won't stop
20 May 2025 2 min read

PowerShell: Get-ItemProperty

What is in my Windows installation Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* , HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Sort-Object InstallDate | Select-Object DisplayName, DisplayVersion, Publisher Sample Output ... Microsoft.NET.Sdk.MacCatalyst.Manifest-9.0.100 (x64) 18.2.9180 Microsoft Corporation LibreOffice 25.2.1.2 25.2.1.2
18 May 2025
Empty Space © 2025
Powered by Ghost