Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 2
    async will always return a promise, btw have you tried to delete async and await from make request and add them into print response in order to have response = await makeRequest()? Commented Jun 28, 2020 at 23:25
  • Does this answer your question? How do I return the response from an asynchronous call? Commented Jun 28, 2020 at 23:43