api commands get, post, put delete