My attempts:
GET https://gorest.co.in/public/v2/users/id1,id2,id3,id4
GET https://gorest.co.in/public/v2/users?ids[]=id1&ids[]=id2&ids[]=id3&ids[]=id4
GET https://gorest.co.in/public/v2/users?filter[ids]=id1,id2,id3,id4
GET https://gorest.co.in/public/v2/users?ids=id1,id2,id3,id4
GET https://gorest.co.in/public/v2/users?where={"id":["id1","id2",...
I have attached my javascript code. Please help someone where the mistake is in my code.
document.addEventListener('DOMContentLoaded', function () {
let requestBodyEl = document.getElementById('requestBody');
let sendPostRequestBtn = document.getElementById('sendPostRequestBtn');
let requestStatus = document.getElementById('requestStatus')...