Difference between revisions of "Application/json"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | <code>application/[[json]]</code> | ||
− | + | * <code>[[curl -H]] "[[Content-Type]]: [[application/json]]"</code> | |
− | + | "accept: application/json" | |
+ | "content: application/json" | ||
− | + | <code>[[application/x-www-form-urlencoded]]</code> | |
− | |||
[[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
application/json
"accept: application/json" "content: application/json"
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
See also[edit]
Advertising: