Mimecast Interview Question

How to automate a POST api?