Getting a Question from the REST API

Learn to interact with REST API to perform multiple tasks.

We are going to refactor our existing getQuestion function to use our http function to get a single question from our REST API.

Implementing HTTP Request in QuestionsData.ts

Carry out the following steps in QuestionsData.ts:

  1. We'll start by clearing out the current implementation, like so:

Get hands-on with 1200+ tech skills courses.