We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3804622 commit 8ea33b7Copy full SHA for 8ea33b7
1 file changed
tools/curl-converter/app.html
@@ -1108,7 +1108,7 @@ <h1>CURL 转代码工具</h1>
1108
inputEl.addEventListener('input', scheduleConvert);
1109
1110
exampleBtn.addEventListener('click', () => {
1111
- inputEl.value = "curl 'https://api.example.com/v1/orders?status=open' \\\n -H 'Accept: application/json' \\\n -H 'Authorization: Bearer sk-test' \\\n -H 'Content-Type: application/json' \\\n --data-raw '{\"page\":1,\"size\":20}'";
+ inputEl.value = "curl 'https://httpbin.org/post?status=open' \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n --compressed \\\n --data-raw '{\"page\":1,\"size\":20}'";
1112
convert();
1113
});
1114
0 commit comments