Fetching the create API in the view