The first case is telling the web server that you are posting JSON data as in:
{"Name": "John Smith", "Age": 23}
The second case is telling the web server that you will be encoding the parameters in the URL:
Name=John+Smith&Age=23
More Related Contents:
- How to make HTTP Post request with JSON body in Swift
- Retrieving JSON Object Literal from HttpServletRequest
- Can’t send a post request when the ‘Content-Type’ is set to ‘application/json’
- Cannot set content-type to ‘application/json’ in jQuery.ajax
- How to receive JSON in a POST request in CherryPy?
- Which JSON content type do I use?
- HTTP POST with Json on Body – Flutter/Dart
- Accessing a request’s body using classic ASP?
- Can Server Sent Events (SSE) with EventSource pass parameter by POST
- Post JSON to web in excel vba
- Does JSON syntax allow duplicate keys in an object?
- How do I decode HTML entities in Swift?
- How do I modify fields inside the new PostgreSQL JSON datatype?
- Swift 4 Decodable with keys not known until decoding time
- converting CSV/XLS to JSON? [closed]
- Explanation of JSONB introduced by PostgreSQL
- How can I pretty-print JSON using node.js?
- How to get Date object from json Response in typescript
- How to parse a JSON string in Inno Setup?
- Ignore parsing errors during JSON.NET data parsing
- Convert MongoDB BsonDocument to valid JSON in C#
- Read Json file into a data.frame without nested lists
- Why does powershell give different result in one-liner than two-liner when converting JSON?
- JSON response format error – red dot\bullet before response
- How to get key names from JSON using jq
- Rails not decoding JSON from jQuery correctly (array becoming a hash with integer keys)
- Reading JSON with Apache Spark – `corrupt_record`
- Laravel: validate json object
- In postgresql, how can I return a boolean value instead of string on a jsonb key?
- How to format timestamp in outgoing JSON