Difference between revisions of "Application/json"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
<code>application/[[json]]</code>
  
application/[[json]]
+
* <code>[[curl -H]] "[[Content-Type]]: [[application/json]]"</code>
  
* [[-H]] "Content-Type: [[application/json]]"
+
"accept: application/json"
 +
"content: application/json"
  
 
+
<code>[[application/x-www-form-urlencoded]]</code>
[[application/x-www-form-urlencoded]]
 
  
 
  [[curl -H]] "Content-Type: [[application/json]]"  [[--request]] [[POST]] [[--data]] '{"email":"[email protected]","password":"YourPassword"}' https://api2.timedoctor.com/api/1.0/login
 
  [[curl -H]] "Content-Type: [[application/json]]"  [[--request]] [[POST]] [[--data]] '{"email":"[email protected]","password":"YourPassword"}' https://api2.timedoctor.com/api/1.0/login
Line 12: Line 13:
 
== See also ==
 
== See also ==
 
* {{JSON}}
 
* {{JSON}}
 +
* {{HTTP2}}
  
 
[[Category:HTTP]]
 
[[Category:HTTP]]

Latest revision as of 06:55, 12 July 2022

Advertising: