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
1
vote
1 answer

How to declare SANCTUM_STATEFUL_DOMAINS env for postman or insomnia

I build a spa with laravel-sanctum But I have problem when authenticate. Because authenticate via laravel-sanctum using CSRF (not token) needs to declare SANCTUM_STATEFUL_DOMAINS first. But postman or insomnia send request on a random port. So I…
Le Dinh
  • 79
  • 9
1
vote
2 answers

req.body returning null Express

Having trouble with a project for school. I'm trying to make a POST request, to insert a new user into a table via Insominia. I keep getting a null value error of username. I've sent my code to one of the TA's and they are not receiving this error.…
Lambit
  • 13
  • 5
1
vote
1 answer

How to get a list of all vulnerability alerts in a GitHub organisation?

I'd like to get an overview, for example of all the critical vulnerabilities I have access to view in a GitHub organization. This answer has allowed me to get a list for a specific repository: { repository(name: "repo-name", owner: "repo-owner")…
pzrq
  • 1,626
  • 1
  • 18
  • 24
1
vote
1 answer

Passing variable in insomnia graphql request

in the graphql request i need to use environment variables, but i didn't find correct way to do this. in my request i have to provide id to get information about certain county. i've tried to address them as _.var_name and no result. I've tried to…
linlav
  • 97
  • 2
  • 6
1
vote
1 answer

How to create a SSL key log from Insomnia REST Client?

I'm trying to capture traffic from Insomnia for debugging an API, since the traffic is HTTPS I need the keylog generated by insomnia when it does the handshake with the server so I can see the traffic in plain text. There is no documentation about…
Pablo Pazos
  • 3,080
  • 29
  • 42
1
vote
1 answer

Insomnia - HTTP POST method with request body having an integer

I'm doing a POST method on insomnia with the following payload { “tag_ids”: [ 295 ] } I'm receiving a status 400 bad request with the following error message { "detail": "JSON parse error - Expecting property name enclosed in…
1
vote
0 answers

How do I get Insomnia to accept a string with newline breaks?

So I have this string: `JY1V03E 00000000009669170841620310325 JYH4574108116GN17510704B0199182HCPP015326 JYTA084A 0029900120200611 …
ZenithF0RTE
  • 363
  • 4
  • 11
1
vote
1 answer

Move response pane to the bottom in Insomnia REST

How do I move response pane to the bottom instead of lift side ? Looked everywhere, including their website.
expert
  • 29,290
  • 30
  • 110
  • 214
1
vote
0 answers

Discord API returning error 50006 : Cannot send an empty message

I'd like to send multiple messages using webhooks and JSON but the Discord API is returning an error 50006 "Cannot send an empty message". My header mentions that the content type is JSON and here's my code : {"messages":{ "message1": [ …
1
vote
1 answer

linux mint 19.2 Failed to fetch Insomnia Repository

I want to downgrade my php version from 8 to 7.4 so I add php repo sudo add-apt-repository ppa:ondrej/php but when I run sudo apt update I got error from Insomnia repo Err:16 https://dl.bintray.com/getinsomnia/Insomnia InRelease …
arjilm
  • 71
  • 2
  • 6
1
vote
0 answers

Insomnia - CSRF cookie not set

I am trying to use insomnia for POST requests for testing my API in a Django application. I am getting this CSRF token error. I saw this post here Django CSRF Failed: CSRF token missing or incorrect which tells me that I need to set my CSRF Token in…
ahsan mukhtar
  • 423
  • 7
  • 21
1
vote
0 answers

Failed connection to Laravel app through Insomnia for testing

I am new on Laravel (I am using the 8.17.2 version) I am still learning and I tried using the method "GET" through Insomnia to get the list of users And it gives me this on the timeline: * Preparing request to http://appdeefe.dev/users * Current…
Deefe
  • 11
  • 1
1
vote
1 answer

inso cli installation failure

I have wsl2(ubunto) and using windows terminal I try to install insomnonia inso using the command "npm i -g insomnia-inso" how ever I get error Could not run curl-config, please make sure libcurl dev package is installed. Output: /bin/sh: 1:…
Shady Ragab
  • 705
  • 10
  • 26
1
vote
1 answer

Post request works fine in Postman and Insomnia, but not in JS code

I've been trying to get this post request to work for a few days now, but it doesn't matter what I change, it never works. This is the JS code that I'm using: axios({ method: 'POST', url: "https://[DOMAIN]/datanew.php?sto=0", data: { …
radmacher
  • 125
  • 2
  • 13
1
vote
3 answers

POT insomnia plugin installation failed

I have installed the POT Insomnia plugin following link but it's not complete. Here is error log: Error: Yarn error warning @platform-of-trust/insomnia-plugin-platform-of-trust > jssha@2.4.2: jsSHA versions < 3.0.0 will no longer receive feature…
Hoan Van
  • 19
  • 2