Comments (1)
Hi @gniqizeuy, thanks for the report. This is indeed a bug. We shouldn’t alter the displayed data. For what it’s worth, you can always use the “Raw” body view mode to see the response body as provided by the server:
![image](https://private-user-images.githubusercontent.com/326885/322841232-8007d24f-4096-430e-91ce-d56081877d89.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM1ODU1MzksIm5iZiI6MTcxMzU4NTIzOSwicGF0aCI6Ii8zMjY4ODUvMzIyODQxMjMyLTgwMDdkMjRmLTQwOTYtNDMwZS05MWNlLWQ1NjA4MTg3N2Q4OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQyMFQwMzUzNTlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZjIwZGQyZGE4ZWM1YmQyZTY1MThhZGE5NWViNWI1MzU0MTI3YWI0NGU5MDE1Y2RlMWU0ZWI2OGM1MjcyZDA2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.aXlETgQDEDCKDMFol1kr0W7jBNNbtMWTw-AUZzWtnEA)
Background: JSON doesn’t really support int64. We currently use JSON.stringify()
under the hood to prettify the body, which means we parse the data, and JS alters the unsafe integer value.
Number.isSafeInteger(68164106661659011) // → false
A simple test: add the following to the request body JSON editor and invoke “Prettify”:
{
"foo": 68164106661659011
}
We need to prevent this alteration. Ideally, we’d also warn the user when unsafe integers appear in the request/response JSON.
from desktop.
Related Issues (20)
- Query: Possibility of other sign-up option in future. HOT 1
- [Bug]: gzip compression unsupported
- [Bug]: newest version 2024.1.2 where is the export curl func HOT 3
- [Feature Request]: Graphql populate all fields HOT 1
- [Feature Request]:multi-level collection HOT 1
- [Bug]: Cannot decrese zoom
- [Bug]: Fix linux installation docs HOT 1
- [Feature Request]: Support Google OIDC and email for account creation
- [Bug]: Not all > showing when getting a big json response
- [Bug]: File paths are clickable but resolve to empty screen
- [Bug]: Unable to use emoji in Python code generation
- Don't work or there are no comments on CTRL+ /
- Search in collections HOT 2
- [Bug]: Can't connect to my account HOT 8
- Mobile app? HOT 1
- GitHub Enterprise Login
- [Feature]: Save specific response data to example (not file download) HOT 1
- [Bug]: Important: HTTPIE deletes files of other programs during uninstall if installed incorrectly HOT 2
- Open source license for desktop client
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktop.