Difference between revisions of "JSON"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
[[wikipedia:JSON]] | [[wikipedia:JSON]] | ||
| + | |||
| + | |||
| + | [[curl]] --header "Content-Type: application/json" \ | ||
| + | --request POST \ | ||
| + | --data '{"username":"xyz","password":"xyz"}' \ | ||
| + | http://localhost:3000/api/login | ||
| + | |||
| + | curl -H "Content-Type: application/json" --data @MY_FILE_WITH_DATA.json http://localhost:8080/ui/webapp/conf | ||
Revision as of 12:09, 26 April 2020
This article is a Draft. Help us to complete it.
curl --header "Content-Type: application/json" \ --request POST \ --data '{"username":"xyz","password":"xyz"}' \ http://localhost:3000/api/login
curl -H "Content-Type: application/json" --data @MY_FILE_WITH_DATA.json http://localhost:8080/ui/webapp/conf
Related terms
See also
Advertising: