Questions and Answers

login

what is login api

Unable to PUT data in todos

Good afternoon! I got an issue. Currently i am learning rest API and the way it works, written little code that simply takes data from your todo lists and puts it on the screen, but when i came to editing data, like changing todo status from pending to complete and backwards, i had faced an issue. every single time i try to put something, post j...

authontiavtion token

Your account is scheduled for deletion on 2023-05-20 00:15:45 +0530 how can i get my account

I'm getting 422 unprocessable entity . Can anyone please help

input : [{"id":1091468,"name":"shriyashree tiwari","email":"[email protected]","gender":"female","status":"active"}] output:[ { "field": "email", "message": "can't be blank" }, { "field": "name", "message": "can't be blank" }, { "field": "gender", "message": "can't be blank, can be male of female" }, { ...

Cannot get my Token

When I open my page in the site I dont find my Token there

Cannot get 415 status code

Someone please help me to get 415 status code.

How can i fidn the user name and pasword to authenticate endpoint

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

vem comigo

asd d3 dfsa3e fw fsd we fds

POST comments API asking for a field that is already in the body

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": "[email protected]", "body"...

my karate script is failing due to 'authentication failed' in POST method but working with GET call in same feature file. POST working well in postman

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...