a POST function call to an outside API