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

Hashing and parsing - blake2b

Verification step for application that states this Send a GET request to https://api.close.com/buildwithus/ Follow the instructions provided in the response. Enter your Verification ID in the space provided here. Using the GET request to that url you get the following for example { "traits": [ "
27 Apr 2025 1 min read

Compute Blood Types

Doing another painful irrelevant code question about inheritance and blood types and came up with this Given /** * @param parent1 The phenotype of the first parent (A, B, AB or O) * @param parent2 The phenotype of the second parent (A, B, AB or O) * @param child The phenotype of the child
26 Apr 2025 2 min read

Find a path: Depth first search

Got stuck on a question about computing possible moves across a one dimensional array. Given A game representing an array of integers. Here is an example game board, which is kept short for simplicity index | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | value | 3 | 2 | 0 | 1 | 3
24 Apr 2025 2 min read
Empty Space © 2025
Powered by Ghost