Searched refs:json (Results 1 – 25 of 28) sorted by relevance
12
/curl/docs/cmdline-opts/ |
H A D | json.md | 4 Long: json 16 - --json '{ "drink": "coffe" }' $URL 17 - --json '{ "drink":' --json ' "coffe" }' $URL 18 - --json @prepared $URL 19 - --json @- $URL < json.txt 22 # `--json` 24 Sends the specified JSON data in a POST request to the HTTP server. --json 28 --header "Content-Type: application/json" 29 --header "Accept: application/json" 36 stdin. Posting data from a file named 'foobar' would thus be done with --json [all …]
|
H A D | variable.md | 51 ## json section
|
H A D | Makefile.inc | 143 json.md \
|
/curl/tests/http/ |
H A D | test_17_ssl_use.py | 27 import json 58 assert r.json['HTTPS'] == 'on', f'{r.json}' 59 assert 'SSL_SESSION_ID' in r.json, f'{r.json}' 60 assert 'SSL_SESSION_RESUMED' in r.json, f'{r.json}' 96 djson = json.load(f) 113 assert r.json, f'{r}' 130 assert r.json, f'{r.stdout}' 154 assert r.json, f'{r}' 169 assert r.json, f'{r}' 239 assert r.json['HTTPS'] == 'on', r.dump_logs() [all …]
|
H A D | test_01_basic.py | 50 assert r.json['server'] == env.domain1 59 assert r.json['server'] == env.domain1 68 assert r.json['server'] == env.domain1 77 assert r.json['server'] == env.domain2 86 assert r.json['server'] == env.domain1 130 assert r.json['server'] == env.domain1 141 assert r.json['server'] == env.domain1
|
H A D | scorecard.py | 28 import json 838 if args.json: 839 print(json.JSONEncoder(indent=2).encode(score))
|
/curl/tests/data/ |
H A D | test383 | 6 --json 35 HTTP with --json 38 --json '{ "drink": "coffe" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER 49 Content-Type: application/json 50 Accept: application/json
|
H A D | test385 | 6 --json 35 HTTP with --json x 2 38 --json '{ "drink": "coffe",' --json ' "crunch": "cookie" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H… 50 Accept: application/json
|
H A D | test386 | 6 --json 49 HTTP with --json + --next 52 --json '{ "drink": "coffe" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/… 63 Content-Type: application/json 64 Accept: application/json
|
H A D | test384 | 6 --json 35 HTTP with --json from stdin 41 --json @- http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Accept: foobar/*" 53 Content-Type: application/json
|
H A D | test421 | 15 content-type: application/json 66 "content-type":["application/json"],
|
H A D | test268 | 41 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable hello@%LOGDIR/junk --expand-data {{hello:json}}
|
H A D | test451 | 41 …ariable second=hello --variable second=again --expand-data "--{{what:trim:json}}22{{none}}--{{seco…
|
H A D | test970 | 47 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{json}' -o %LOGDIR/out%TESTNUMBER
|
H A D | test972 | 48 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -s --write-out '%{json}\n' -o %LOGDIR/out972
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_POSTFIELDS.md | 102 /* send an application/json POST */ 105 const char *json = "{\"name\": \"daniel\"}"; 107 slist1 = curl_slist_append(slist1, "Content-Type: application/json"); 108 slist1 = curl_slist_append(slist1, "Accept: application/json"); 116 curl_easy_setopt(curl, CURLOPT_POSTFIELDS, json);
|
H A D | CURLOPT_SUPPRESS_CONNECT_HEADERS.md | 49 Content-Type: application/json 62 Content-Type: application/json
|
/curl/.github/workflows/ |
H A D | hacktoberfest-accepted.yml | 36 …gh repo view --json repositoryTopics --jq '.repositoryTopics[].name' | grep '^hacktoberfest$')" >>… 50 gh pr view {} --json number,createdAt \ 61 gh pr view "https://{}" --json number,createdAt \
|
H A D | checkdocs.yml | 52 # cat <<JSON > $HOME/.proselintrc.json 73 # cat <<JSON > $HOME/.proselintrc.json
|
/curl/ |
H A D | REUSE.toml | 38 "renovate.json",
|
/curl/tests/http/testenv/ |
H A D | curl.py | 27 import json 214 self._json_out = json.loads(out) 226 self._stats.append(json.loads(line)) 249 def json(self) -> Optional[Dict]: member in ExecResult 433 json.JSONEncoder(indent=2).encode(x),
|
H A D | caddy.py | 32 from json import JSONEncoder
|
H A D | httpd.py | 32 from json import JSONEncoder
|
/curl/docs/ |
H A D | options-in-versions | 108 --json 7.82.0
|
/curl/.github/scripts/ |
H A D | spellcheck.words | 399 json
|
Completed in 28 milliseconds
12