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

Data Modeling: SQLite + Python - Part 2

Introduction Working through the question of given text line inputs of a text line with a format of "{City name},{Date},{Max temperature in Celsius}" parse the input lines if possible and find the maximum average temperature for a city in a particular month of a target year.
02 Aug 2025 3 min read

Binary Search

Asked to find the index of a value within a sorted list of numbers. That means binary search right. Point of reference here is that I have never had to do this in a work setting because the data is never ordered or kept in order. Uniqueness sure, but the
20 Jul 2025 1 min read

Data Modeling: SQLite + Python - Part 1

Working through a parsing problem of text files and finding the relationships between them. In this case there are three relevant files * UserIP - Holds the IP and UserId tracking information * Purchased - Holds the UserIds of every user that makes a purchase * AdClick - Contains various information, but the
04 Jul 2025 4 min read
Empty Space © 2025
Powered by Ghost