POST request to create a new snippet