D8 SubRequests
This is a Javascript Client for subrequests Drupal 8 module : https://www.drupal.org/project/subrequests
subrequests allow you to send several json-api requests in one single http request. This package creates for you the blueprint format to send, and can parse the multipart response for you.
Example usage
const subrequests = "https://dev-contentacms.pantheonsite.io/subrequests?_format=json" subrequestssubrequestssubrequests// latest 4 recipessubrequests const response = await axiosconst datas = subrequests// datas contains now all requests objects