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
2
votes
1 answer

There is a way to encode query params in base64 using insomnia rest client?

I've been using insomnia for a while now and it has served me quite well. But when i need to make some more complex requests i don't know how to do it. Basically i need to make a GET request with a @request query param, that must hold a JSON encoded…
2
votes
0 answers

Mulitpart forms and nested objects Insomnia REST client

So I've decided to switch to Insomnia from Postman, as for some reason my Postman app keeps hanging. Everything is going well but I'm having trouble using multipart forms with Insomnia. How would I access this in Insomnia? In Postman I just need to…
Dipet
  • 323
  • 3
  • 14
2
votes
1 answer

Angular Getting a picture on and on from REST API and displaying it

I am about creating a site, which will be displaying image took from driving car on a screen of computer in real-time. I am sending a picture by Insomnia like this (I have not a server, yet): and there is a code from…
Arkadiusz
  • 86
  • 8
2
votes
3 answers

Failed to connect to localhost 5000

I am trying to connect my node app with MongoDB. The code seems to execute as I get the output Server is running on port 5000 MongoDB database connection established successfully on the terminal But when I try to post get from insomnia it takes…
m.Mig
  • 21
  • 2
  • 7
2
votes
1 answer

GraphQl and insomnia desktop clients not working with graphql.org/swapi-graphql

I am new with graphql. Visited the site https://graphql.org/swapi-graphql/ and sent a simple query like so query { allPeople { people{ name birthYear } } } and got the response like { "data": { …
VivekDev
  • 20,868
  • 27
  • 132
  • 202
2
votes
1 answer

Unknown argument in an otherwise correct GraphQL query with Absinthe backend

I'm running an Absinthe query, with three argument fields, all of them lists of integers. @desc "Fetches resolutions of Taiga ids" field :taiga_ids, :taiga_entities do arg :usIds, list_of(:integer) arg :taskIds, list_of(:integer) arg…
Sebastialonso
  • 1,437
  • 18
  • 34
1
vote
1 answer

Websocket Insomnia Flask

I have a short question: I have this simple flask Server running: from flask import Flask, render_template from flask_socketio import SocketIO, emit app = Flask(__name__) socketio = SocketIO(app) @app.route('/') def index(): return…
DrKnowing
  • 143
  • 1
  • 1
  • 6
1
vote
0 answers

Next.js error TypeError: Cannot read properties of undefined (reading 'headers')

I am working with Next.js 13.4.19 and I want to try OpenAI API. I have my API routes in good structure. When I hit the API route http://localhost:3000/api/course/createChapters for POST with: { 'title':'calculus', …
1
vote
1 answer

How do I escape the"@" character in jSON path of a response to use it in tag editor ? (Already try the backslash)

In insomnia, I want to use a property in a response (JSON) to set up a dynamic variable (like the token get in another query and then used as auth in the current query) My first query return a response like this: "@type": "hydra:Collection", …
SpOOnisBacK
  • 119
  • 7
1
vote
2 answers

User should not be empty

A 400 "user should not be empty" error occurs when creating a transaction. How to solve it? I may have generated the table wrong somewhere. async create(createTransactionDto: CreateTransactionDto, id:number) { const newTransaction = { …
1
vote
0 answers

Onboarding openapi to Kong deployed on kubernetes cluster

Onboarding open api yaml into Kong. I need to figure out a way to configure my openapi yaml(declarative config yaml generated via insomnia) to Kong(OSS version) that is deployed on K8s. I have a simple open api yaml (generated using insomnia) which…
1
vote
0 answers

How is the Zoho-oauthtoken designed to be used in a HTTP request?

I am working on a work module for integrating our law-firms management system with Zoho WorkDrive. I am using Java for the module. I have had to go through their WorkDrive APIs but it's inconsistent and hard to understand/ follow through. My main…
1
vote
2 answers

FastAPI's auto generated OpenAPI file not valid according to Insomnia

I am trying to import an openapi.json into Insomnia to generate a collection, but Insomnia says it is not valid. Is there a difference in rulesets between FastAPI/Swagger and Insomnia? If not, what causes this difference in compatibility? Here's a…
mincom
  • 670
  • 5
  • 21
1
vote
2 answers

I can't pass JSON to an AWS lambda function in a POST request without the lambda function inserting a backslash before every double quote in the JSON

I have an AWS lambda function that I created through the sam cli tool. I started with a basic hello world template that I converted into a find anagrams function that accepts a JSON array of words and detects anagrams in the array. Right now, I'm…
ChristianOConnor
  • 820
  • 7
  • 29
1
vote
0 answers

Insomnia base64 decode a response body attribute and print

I would like to retrieve one of my response body attributes, base64 decode and see in json formatted way.Is it possible to view the data in this format right with rest api execution.
Vishnu
  • 479
  • 1
  • 3
  • 14