Cannot authenticate HTTP call when working with user-defined API

Follow