Comments (4)
We'll get this issue fixed in the next immediate release candidate. Could you subscribe to this issue thread to get notified once the fix is live?
Meanwhile, if anyone would like to try this, feel free to open up a PR.
from hoppscotch.
Hi!
I confirmed this bug. Also I can add another failed use case.
curl -X POST 'http://example.com:30101/api?external_postprocessing=true' -F 'images=@"/C:/test2.png"' -F 'metadata="{\"application\": \"app\", \"sessionId\": \"559b9fad-5dd2-4bd8-a071-6f07b7bbb7b3\"}";type=application/json'
Parameter metadata
is not imported as json object, because not to checked type
args.
from hoppscotch.
@shipko is there will be any actions from the team about this issue?
from hoppscotch.
@liyasthomas
I want to try fix this issue. But when I started a solving the problem I noticed that the problem lies in the yargs-parser/browser
library.
After parse @AlexNeAuto curl command I get
"{ \"API_KEY\": \"api_key\", \"API_SECRET\": \"secret\", \"Device\": {\"id\": \"1234567890\"} ,\"messageIds\": [\"message_1234567890\"], \"action\": \"accept\", \"raw\": \"{
value of d
parameter.
Also we have another failed curl command:
curl -X POST 'http://example.com:30101/api?external_postprocessing=true' -F 'images=@"/C:/test2.png"' -F 'metadata="{\"application\": \"app\", \"sessionId\": \"559b9fad-5dd2-4bd8-a071-6f07b7bbb7b3\"}";type=application/json'
And another issue #3901
I think this library is not suitable for us. A curl contains a lot of arguments with subtle logic, you can't just parse the arguments here.
Maybe we should start looking for an alternative library?
from hoppscotch.
Related Issues (20)
- [bug]: Searching in a long request body,slide to the end,the body below is blank.
- [bug]: Code generation not working HOT 2
- annoying "Set as variable" popup on any text highlight HOT 3
- Option/setting to change the sidebar position. HOT 3
- [bug]: how set default content type,
- [bug]: Interceptor not saving selected option HOT 3
- [feature]: configurable banner for announcements / news for Selfhosted
- [feature]: Record the day of the last login
- [feature]: API for user management
- [feature]: audience support for OAuth2.0 client credentials HOT 1
- [bug]: incorrect multipart/form-data body HOT 1
- [bug]: Lost all saved data after recent update HOT 6
- [feature]: Use jq instead of JSONPath for filtering JSON HOT 1
- [feature]: Distribute to vscode marketplace
- [feature]: Environment variables in Collection properties
- Don't exist a file .env in the root directory - Failed build HOT 1
- [bug]: Hoppscotch crashes on Windows.
- [bug]: When Json is beautified, the precision of long integer values is lost HOT 1
- [bug]: Why can't the new request be saved? HOT 1
- [feature]: Hopp CLI Junit report
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 hoppscotch.