Comments (6)
They both work actually, it depends what the server accepts. It's just raw data, so in the later case the server needs to parse it as json. http-console doesn't care what you type in there.
from http-console.
understood.
from http-console.
I'd like to humbly predict that inserting a super-brief explanation of typical formatting of POST arguments from a regular HTML web form will save other people time. I'm not the sharpest pencil in the drawer, but I'm also not atypical, and it cost me about an hour of poking around.
from http-console.
Good idea.
from http-console.
Got POST with form data to work:
$ http-console localhost $ http://localhost:80/> /myapp/ $ http://localhost:80/myapp/login.php> Content-type: application/x-www-form-urlencoded $ http://localhost:80/myapp/login.php> post $ ... username=admin&password=admin
from http-console.
@bbn Thanks for the explanation cause the readme
was not working for me. 👍
from http-console.
Related Issues (20)
- Http-Console fails assertion for writeable socket in GET
- Error with connection; "Stream already opened" HOT 8
- .q and .header = unknown command HOT 1
- How to pass ?key=value HOT 1
- TypeError: Object true has no method 'write' ([email protected])
- Can't GET CouchDB databases with slash in the name
- Send a file?
- Background Colors for Response Body
- add support for OPTIONS, CONNECT and TRACE HOT 1
- 'http-console' does not seem to work with Node.js on Windows... HOT 4
- URL Encoding of + sign?
- Doesn't seem to work with v0.7.7-pre HOT 1
- installing via NPM installs relative to local folder
- Uses deprecated `#sys()` methods for console output. HOT 1
- 0.8
- Send host and port by default
- util.puts is deprecated as of node 0.12
- output full output
- JWT authentication
- Can't switch server
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 http-console.