Checking that it is a POST request when adding a new node