Questions and Answers
I am try to access the Post , Put and Delete the request it getting 422 and 401 error how can i find my user name and password to authenticate my request
asd d3 dfsa3e fw fsd we fds
Request I'm sending:
curl --location --request POST 'https://gorest.co.in/public/v2/posts/457749/comments' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer 9d....080' \
--data-raw '{
"post": "5375",
"name": "NameNew",
"email": "Waino.Dickinson92@gmail.com",
"body"...
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...
Hi, https://gorest.co.in/public/v2/users endpoint is returning data even i dont set a token or set a wrong one ? How this can be possible ?
Yesterday the api was fine but today it gives me cors error ?
i want to get google url...if i write a keyword in input it could need to search in google about that keyword.what is the url for fetching
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')...
Error: socket hang up
curl --location --request GET 'https://gorest.co.in/public/v2/users' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer d2fe991f5ebd13b1a845cfd691535f442563a09b9268649aa708fb61fc9a0c68'