How To Call Rest Api From Html Form