Results 1 to 1 of 1

Thread: Promise.all and Handlebars.js - Combining the results of two API requests in one list

  1. #1
    Join Date
    Jan 2017
    Posts
    27
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Promise.all and Handlebars.js - Combining the results of two API requests in one list

    Hi,

    In the following example I'm using fetch.all to combine two different API requests.

    fetch.all and Handlebars.js

    The unordered list, which is created by using Handlebars.js is showing all staffs from the second request.

    Now my question:

    How can I add the result of the first request to the same unordered list?
    Last edited by kayut; 07-04-2018 at 10:25 PM.

Similar Threads

  1. Accessing an API using Handlebars.js
    By kayut in forum JavaScript
    Replies: 6
    Last Post: 03-19-2018, 04:51 PM
  2. Authenticating cURL Requests
    By mburt in forum PHP
    Replies: 9
    Last Post: 04-21-2012, 06:01 AM
  3. Resolved blank screen when no requests!
    By liamallan in forum PHP
    Replies: 16
    Last Post: 04-15-2010, 07:42 PM
  4. View results of Combo Box Viewer in the results
    By tball in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 09-03-2008, 10:49 PM
  5. some requests
    By Chadi in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 06-07-2006, 10:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •