When a URL is requested by the client to a server the server will return the resource and a HTTP Status code. The status code will let the client know different information about the request, if it was success, if it failed or if the resource has moved. Here is a list of all the HTTP codes and what they mean. — 100’s are informational codes

  • 200’s are success codes
  • 300’s are redirection codes
  • 400’s are client error codes
  • 500’s are server error codes

100 — Continue

This code means that the request header has been received and that the request body can…

Over the past few years I’ve been doing a lot of work on creating RESTful APIs, from the experience of creating APIs I’ve learnt a few things that you should try to include on API’s you create. In this tutorial we’re going to go through some of the best practices you should try to include in your API.

Understanding The HTTP Method Types

Before you build a RESTful API it’s important to understand the HTTP method types you can use. There are 5 HTTP methods: — GET for fetching data

  • POST used for storing new data
  • PUT used for updating a whole entity
  • PATCH used…

If you’re like me you always need to look up the difference between local storage, session storage and cookies.

This post is for those’s that are always reaching for that comparison.

Local Storage

  • Stores data with no expiry date
  • Cleared only via JavaScript or clearing browser cache
  • The storage limit is the largest of the 3 as big as 5MB
  • Not supported by older browsers IE7 or lower
  • Works on same-origin policy. So, data stored will only be available on the same origin.

Session Storage

  • Stores data only for the duration of the session, when the user closes their browser the data is lost

Laravel makes development easier with a load of helpful functionality you can use in your applications. But has there ever been a situation where it doesn’t quite do what you want?

There’s a trait in the Laravel code base called Macroable. There's not much documentation on this trait but it allows you to extend any class that's using this trait.

The macroable trait allows you to add a new method into the class at runtime to use throughout your application.

For example the \Illuminate\Support\Collection class is macroable and will allow you to add a new method into the class.


Tokenising Everything

0x software is created to allow users to create crypto assets that can represent anything which effectively allows us to tokenise anything. This can include tokenises physical things like real estate to virtual things like in game add-ons and even tokens that can represent other crypto assets.

The benefits of tokenising everything means that the token can act as the contract of ownership of an item, rather than the old paper contracts. You don’t need a third party to keep them safe, they can be transferred to new owners quickly and digitally around the world. …

When you’re developing your application locally you might want to send emails to users of your system.

In development, you don’t want to be sending real emails as you might accidentally be sending development emails to real customers. You need a way of testing locally and make sure that no emails will be sent out to customers but still allow you to view all emails being sent out.

This is why mailhog was created, it’s a great development tool for testing emails and you can find the repository on Github.

You can run this locally on your machine by using…

Homestead is a package you can use in your Laravel development to create a local development environment for your application with all the services installed you can use to improve the workflow of your application.

Homestead will then create a new virtual machine with the following software installed.

The problem comes when you do integration testing on your application with “real world” data you might come into the situation where an dev email can be sent to a real user. There are a few ways you can get around this one of the most common old fashion ways of doing…

EOSIO is a blockchain protocol that is used to facilitate building decentralised applications DAPP’s.

This was designed to solve the problems with other application blockchains such as speed and clogging up of the network which networks such as Ethereum has faced in the past. When a large DAPP was added to the Etheruem blockchain it caused performance issues with the amount of bandwidth going through the network.

EOSIO has been designed to be capable of more transactions per second while removing the fees charged to users for making transactions.

Unlike other blockchains applications like Etheruem which need to be written…

Why Use The Brave Browser?

Brave is a browser that’s been built from the ground up to be faster and safer than other internet browsers. Brave does this by blocking malware and trackers on web pages, keeping your browsing history safe and keeps down the page loading time, win win.

It’s similar to the ad blocking software you might of seen on other browsers but this is built into the browser itself. You’re able to change the settings on any web page to be more or less secure if you’re sure you can trust a certain web site.

Brave will automatically block trackers and ads…

What Is Compound Crypto?

Compound is a protocol running on Ethereum that lets individuals, developers, and applications earn interest on their crypto without relying on third parties.

Compound is one of the increasing number of DeFi protocols entering the crypto space. They say that the majority of cryptocurrencies sit idle on exchanges and within wallets and their aim is to change this by allowing you to earn interest on the cryptocurrencies you hodl.

At the time of writing, Compound has over $2.5 billion assets locked into the protocol.

Earn Interest With Compound

Compound will allow you to deposit your cryptocurrency into lending pools and lenders will earn interest…


Software Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store