Nagarro Interview Question

diff b/t head and post method