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

.NET HTTPS RESTful API call

  • Robin Michael

Robin Michael

27 Mar 2019
Share

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

Environment Settings, overload helper

I am working with environment variables because the current application I am building is a 12 factor application adherent and while messing with the .env files and or actual os/user environment variables it can get a bit confusing so I wrote this helper class to load the application variables
26 Aug 2026 1 min read

Immutable Data - Python

Object oriented programming is built around the encapsulation of state transitions to occur with in the data objects. For example in the below Tracker class I want to hold a variable that describes the current version of the object. @dataclasses.dataclass class Tracker: version: int = 0 def update_version(self)
23 Aug 2026 2 min read

SQLite - Bulk insert compare

Working on a way to do a quick compare of similar data that is analogous to a structured row of data from a SQL table. Now the data itself will have a current version and a previous version and it is stored in a JSON format file. At first I
26 Jul 2026 3 min read
Empty Space © 2026
Powered by Ghost