Tag: API

  • Fly.io, Uptime Kuma & scraping a status page

    I’ve been aware since I set up Uptime Kuma for my monitoring, that having an instance on my local network monitoring my VPS websites wasn’t ideal. The main reason being that the flakiest part of my infrastructure is my 4G home internet, so if that goes down I have no website monitoring, and even if…

  • Bruno asserts

    I mentioned Bruno the other day. Although it’s still very much under development, it is shaping up as a great Postman/Insomnia replacement. One of the aspects I’ve been using today is asserts. As part of a request, you can add some asserts – so when you’re hitting an endpoint it will check what status should…

  • We need to talk about Bruno

    I’ve mentioned before that I was using Insomnia as a tool to check my REST APIs as I was developing them, and that I was avoiding Postman (which I guess is more widely used since it’s worth USD5.6 billion) because The only reason I’m using Insomnia instead of Postman is that when I tried Postman,…

  • How to deploy a Node.js app

    This is one of those things that is simple once you know it. I had my tiny Node service working on my MacBook, but how do I run it on the server? Native or Container Obviously I need Node.js installed on the server, should I have it in a Docker container, or native on the…

  • Complicating the Temperature API

    I’ve been slammed with other work, so my web dev learning has fallen well behind. Luckily, the YouTube procrastination algorithm noticed this and suggested I watch a video from CodeWithCon titled Learn Backend in 10 MINUTES. Since I was watching a video of a guy learning to land a C152 at St Baths (a skill…

  • APIs – http & https Mixed Content error

    Ran into a little bump today – I was calling a cool API that gives the current location of the International Space Station. In a classic case of “it worked on my machine” it worked perfectly in the Live server in VS Code on my laptop, but when I pushed it up to my GitHub…

  • Profile Photo Rabbit Hole

    I’m on day 60 of #100Days, and have just wasted most of an evening’s coding time going down a rabit hole I didn’t need to. The app for this challenge is called “FriendFace” and is pretty straightforward: download a heap of JSON which is an array of users. Show it in a list that can…

  • Codable when the keys don’t match

    A common issue when working with JSON that you vacuum up from internet APIs will be that the key names in the JSON don’t match your property names. The JSON de facto standard of using snake_case in key names could be one cause, or perhaps you just take variable naming more seriously than the person…