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

macOS Base64 encode script

I am working on macOS and I wanted to base64 encode a snippet of json text. For example I have the following JSON snippet. { "array": [ 1, 2, 3 ], "boolean": true, "color": "gold", "null": null, "number": 123, "object&
13 Jan 2026 2 min read

Longest continuous ranges in a list of integers

Presented with this convoluted description of a problem to solve, but simplified to the following: 💡Given an unsorted list of integers with duplicates find the longest incrementing range of numbers As in find_max_continuous_range([1, 1, 0, 6, 3, 5, 5, 4]) is the range [3,4,5,
20 Dec 2025 3 min read

Ersatz Thinking

To learn and understand something you need to encounter challenge or friction just like lifting weights you should lift on a progressive overload to build strength or training to run a marathon you must build up your aerobic base over time with increased training distances and durations. That Large Language
22 Nov 2025 1 min read
Empty Space © 2026
Powered by Ghost