rest api get post put delete example