Questions tagged [insomnia]

Insomnia is a desktop client for interacting with HTTP-based APIs.

Insomnia is a desktop client for interacting with HTTP-based APIs. It runs on macOS, Windows and Linux.

Web page: https://insomnia.rest/

203 questions
0
votes
1 answer

Why am I getting this error in Nodejs? Error: Couldn't resolve host name

While testing registration API by Insomnia I am getting this error in insomnia preview: Couldn't resolve host name. I am using mongodb database which had been connected with my application. Image of Insomnia error Why am I getting this error while…
geektanvir
  • 85
  • 3
  • 8
0
votes
1 answer

Insomnia failing with Maximum call stack size exceeded when importing the swagger json

I am having swagger ui for my application and when I try to import the same to insomnia rest client I am getting Maximum call stack size exceeded error.Refer this Image
0
votes
1 answer

Get and Post data in Flask request

Hello and thanks in advance for any help. I am trying to set up a ReactJS & Flask Web App, but i am having trouble getting the data into Flask, i am using Insomnia to test send the data to Flask, and the POST request returns code 200, but i keep on…
kajó
  • 15
  • 1
  • 6
0
votes
1 answer

How to display json with multiple dimensional array in typescript

TypeScriptArray Greetings. I have a problem with the array. I don't know how to display multiple dimensional arrays. This is the picture of my code on the left side and on right, I have JSON that I must display in Insomnia for the test. You can see…
0
votes
1 answer

Is it possible to use JSONPath or XPath to get a query string?

I'm currently using Insomnia App to create some requests and one of my API responses I get a JSON with "redirect_uri" field and the value is actually a URL. I need to get only the code parameter, so the JSONPath or XPath needs to return…
Bart
  • 251
  • 4
  • 10
0
votes
1 answer

web scraping data by modifying javascript parameters

I am trying to scrape intraday prices for a company, using this website:Enel Intraday When the website pulls the data, it splits them into few hundreds pages, which makes it very time consuming to pull the data from. Using insomnia.rest (for the…
Je Je
  • 508
  • 2
  • 8
  • 23
0
votes
1 answer

How to send array of arrays as a standard POST method in Swift4+

Generated Swift code at Insomnia works for 1 key and 1 value, but always give an error for 2+ keys, values. How to send an array of arrays as a POST method in Swift4+? Insomnia code: let headers = [ "content-type": "multipart/form-data;…
J A S K I E R
  • 1,976
  • 3
  • 24
  • 42
0
votes
1 answer

"Cannot read property 'name' of undefined" POST JSON method in Insomnia

I use for testing my project API Insomnia(like a Postman) program and when i use GET methods all going without problems, but POST method return undefined req.body.name and req.body.price, this error which i catch and this is my request query this is…
Malzeriy
  • 127
  • 2
  • 13
0
votes
2 answers

JavaScript fetch request body parameters not received

Context: I am trying to send a put request to a server using JavaScript and fetch from an html file I'm writing. Problem: The request I made is working in Insomnia, but when I try to send it from an html it isn't properly received. The code was…
vajnaivik
  • 25
  • 7
0
votes
0 answers

Complex object multpart json

I want to build a request in insomnia to upload person, documents and it's files How can I put a multipart file inside a JSON object? I don't want to deal with string base64 because it's too big and too slow to travel over the network. I have a rest…
lat94
  • 511
  • 1
  • 5
  • 18
0
votes
1 answer

Problem with uploading file .NET Core Web API

I'm trying to upload file (just .jpeg image) and save it on my server. I've written the following code for this: Db context public class ApplicationContext : DbContext { private readonly string _connectionString; public…
Aleksej_Shherbak
  • 2,757
  • 5
  • 34
  • 71
0
votes
0 answers

Send MSGPack body generates HTTP 500

I actualy try to replicate a http request with a msgpack body request. I have the original request that works (several times testet, generates a http 200 statuscode) If i replicate the request for example in insomnia or in PowerShell or with curl i…
TimoC
  • 687
  • 2
  • 6
  • 15
0
votes
1 answer

IIS app pool application asks for password (basic auth) but neither postman or insomnia can respond

We have an IIS server running a EPICOR ERP system. The ERP system installs IIS application pool, which certain urls are remapped to be handled by the app pool. Here is what it says about the verification: For security reasons you should always use…
Dr.YSG
  • 7,171
  • 22
  • 81
  • 139
0
votes
1 answer

Failed testing authlib with Insomnia tool

I launched this example server and registered a user app. I am trying to simply see something at least working, but it is pretty difficult. I am not sure if this authlib library is completely messed up or am I doing something wrong. So I fill…
Ignas
  • 389
  • 2
  • 13
0
votes
1 answer

When sending a GraphQL Get Request Receiving a 400 Error

I am using the Insomnia client to form GraphQL Queries. I have the following Query query purchaseOrders{purchaseOrders(limit: 1){poNumber}} Sending with the Bearer Token as the only header. I'm getting a 400 response, this is the first time I've…
AlliDeacon
  • 1,365
  • 3
  • 21
  • 35
1 2 3
13
14