Questions tagged [thunderclient]

Rest API Client for VS Code

Thunder Client for VS Code is an extension for that facilitates to send http request to a webservice and handle the response. It is similar to .

43 questions
1
vote
0 answers

PG::UndefinedColumn: ERROR: the column doesn't exist addresses.property on API delete

My problem is really weird, I'm trying to delete a property in my API, I can already create and edit it using thunder client but it generates this error when trying to delete: enter image description here I put the dependent: destroy on the models…
1
vote
2 answers

Laravel Sanctum CSRF Token Mismatch using Thunder Cilent (Testing API)

CSRF Token Mismatch when using Thunder Cilent to test Laravel Sanctum API. Works fine on app, just not when testing API outside app. Trying to test API with Laravel Sanctum with Thunder Cilent (Think Postman but VSCode extension). However, despite…
wanna_coder101
  • 508
  • 5
  • 19
1
vote
3 answers

Selecting/filtering with JSON Query in Thunder Client

I am trying to test HTTP responses with Thunder Client in VS Code. The HTTP response I get is: { "currencies": [ { "name": "Btc", "count": 17 }, { "name": "Ltc", "count": 0 …
Rok
  • 451
  • 3
  • 21
1
vote
1 answer

Can someone please explain Thunderclient's git integration?

I am trying out Thunderclient as a lightweight alternative to Postman; for local development. The problem I am having is integration with my project through git. https://github.com/rangav/thunder-client-support#team The documentation seems clear…
HellishHeat
  • 2,280
  • 4
  • 31
  • 37
0
votes
1 answer

unable to install 'rangav.vscode-thunder-client' extension because it is not compatible with current version of vscode (version 1.52.1)

when I am trying to install Thunder Client for vscode, I am getting this error. And not able to install it. error while installing 'thunder-client' extension unable to install 'rangav.vscode-thunder-client' extension because it is not compatible…
0
votes
1 answer

Save response to variable in Thunder Client

I want to save the response from two API calls but not sure how to do it in Thunder client, Postman is working fine. var jsonDataResponse = JSON.parse(responseBody); pm.environment.set("tin", jsonDataResponse.replace(/\s/g, '')); One.…
0
votes
2 answers

Why do it get stuck at processing when using localhost:3000 Thunder Client on VS Code?

I am new to backend and i was following codewithharry react js course. I did the same as he did but when i use to get request in thunderclient it gets stuck in processing. But when i use the link in chrome browser it works fine. vscode…
Sahil
  • 1
  • 1
0
votes
0 answers

Connection was forcibly closed by a peer - thunder client

router.post("/orderData", async(req,res) => { let data = req.body.order_data; await data.splice(0,0, {order_date: req.body.order_date}) let eId = await Order.findOne({ "email": req.body.email}); if(eId === null){ try { …
0
votes
1 answer

Thunder Client: how to retrieve current request url?

Is there a way to retrieve the current running request's url for scripting purposes? in Postman, I could do: pm.request.url Is there a similar call under tc ?
Niner
  • 2,074
  • 6
  • 37
  • 47
0
votes
0 answers

Thunder Client- How to subtract the numbers from a decimal number

In my json query I am using {{ number | subtract(2) }} where if number is 123.40 the result obtained is 121 and values after decimals are trimmed off. {{ number | subtract(2) }} number is 123.40 Result 121 Expected Result 121.40
0
votes
1 answer

How to send an array with Thunder in form-data format?

Sending an Array on form using thunder Is there a way to send an array in the form-data format using Thunder? i need to send an array of urls on the field "redirectUrls" to test my endpoint i tried to send it as an array "redirectUrls[0]" but it's…
0
votes
1 answer

Freshdesk API (ticket forwarding) returns 400 for "Unexpected/invalid field in request"

I am attempting to create a method to forward a Freshdesk ticket to a specified email address along with an added message. The method and API call work fine, until I add the user_id property to the body of the API call, and then it fails with a 400…
AJ L
  • 39
  • 5
0
votes
1 answer

Can I use thunderclient npm package to run the api requests from a json

Is it possible or is there a way to use thunderclient npm package to run the list of graphql requests from a json file in a CLI not from VSCode? Something like this "npx thunder-client run api_tests.json" I tried to run this "npx thunder-client run…
RajaS
  • 1
0
votes
1 answer

How to access a variable value in an environmental array variable in Thunder Client?

In one of my GET requests, I store the JSON response into an Environmental Variable Array. I cannot seem to access the individual values in that array. Is this supported or am I just not accessing them properly? My Environment Array [Environment…
0
votes
1 answer

Thunder Client: Run collection/request multiple times with delay

What is the easiest way to run collection/request multiple time (best with delay) using Thunder Client (or its cli) Aiming for similar usage as in Postman Collection Runner or newman: npx newman run my.postman_collection.json --delay-request 2000 -n…
pbaranski
  • 22,778
  • 19
  • 100
  • 117