AJAX Request to Web API

Поделиться
HTML-код
  • Опубликовано: 16 июн 2021
  • In this lecture you will learn what is a Web API and how to make an AJAX call to a web API to request some data and display it in the webpage.

Комментарии • 9

  • @haniayach9979
    @haniayach9979 Год назад

    hello, thank you for your efforts, I have one question, if you used sysnc instead of Async, is the response coming in order? because sync it's blocking reverse the Async it's not blocking it runs all requests at the same time(multi tasking)

  • @buminkagan1145
    @buminkagan1145 3 года назад +1

    Is there any difference between fetch and XHR on programmatic logic??

    • @procademy
      @procademy  3 года назад +2

      Yes...and I will cover fetch API in the coming lectures.

    • @suneelyekasiri
      @suneelyekasiri 3 месяца назад

      ​sir give us the source code for the js course​@@procademy

  • @mohamedibrahemsaad573
    @mohamedibrahemsaad573 5 месяцев назад

    u havent shared the file sir

  • @Martin958
    @Martin958 Год назад

    What causes the order of the called 'getCountry' functions to change each time?

    • @procademy
      @procademy  Год назад

      since each country data will be requested separately, which country data will come first in the response, that is not in our control. Whichever endpoint sends the response first, that will be received first on the client.

    • @Martin958
      @Martin958 Год назад

      @@procademy Why are the endpoints data sent in a different response order each time by the server? Also, since they are called in a definite order with a small time lapse between each call, why should it happen this way from a server perspective?

  • @sunnysaddam8466
    @sunnysaddam8466 2 года назад

    u havent sharent the file sir