Feature: testing e2e scenario of Gorest API's
Background:
* url 'https://gorest.co.in/public/v2/users'
Scenario: get all user details in gorest
Given path '331868'
And headers Authorization = tokenID #getting tokenID from config file
When method GET
Then status 200
* print response
* def Getresponse = response
* match $.name == Getresponse.nam...
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')...