Generate code not giving the same result as in Insomnia
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
Executing the generated code returns the same result as the one retrieved by insomnia
### Actual Behavior
Another web page is returned, saying that the user is not logged in
### Reproduction Steps
This behavior happened with the following website : ``https://forum.mobilism.org`
Create a POST request on https://forum.mobilism.org/ucp.php?mode=login` to log in.
The necessary cookies will be stored by insomnia
Send a get request on the following url : `https://forum.mobilism.org/search.php?sr=topics&sf=titleonly&keywords=test`
Export as code (I tried both curl and wget, they give the same result)
In insomnia, the search results are retrieved. With curl and wget, a webpage asking to login is returned
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
_No response_
### Insomnia Version
2022.7.3
### What operating system are you using?
Other Linux
### Operating System Version
artix linux 6.1.8
### Installation method
AUR
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Start by reproducing the login and search requests in Insomnia, then compare the exported curl and wget requests with the working request, especially their handling of stored cookies. The issue mentions no source files or tests; done means the generated commands return the same authenticated search results as Insomnia.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100