- Sort Score
- Num 10 results
- Language All
Results 1491 - 1500 of 1,590 for EXAMPLE (0.06 seconds)
-
docs/zh/docs/tutorial/security/simple-oauth2.md
<img src="/img/tutorial/security/image05.png"> ### 获取当前用户数据 { #get-your-own-user-data } 使用 `/users/me` 路径的 `GET` 操作。 可以提取如下当前用户数据: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png"> 点击小锁图标,注销后,再执行同样的操作,则会得到 HTTP 401 错误:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 9K bytes - Click Count (0) -
docs/fr/docs/advanced/openapi-callbacks.md
Et il variera probablement beaucoup d’une application à l’autre. Cela pourrait être seulement une ou deux lignes de code, comme : ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/zh/docs/advanced/openapi-callbacks.md
此处唯一比较新的内容是*路径操作装饰器*中的 `callbacks=invoices_callback_router.routes` 参数,下文介绍。 ## 存档回调 { #documenting-the-callback } 实际的回调代码高度依赖于您自己的 API 应用。 并且可能每个应用都各不相同。 回调代码可能只有一两行,比如: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ``` 但回调最重要的部分可能是,根据 API 要发送给回调请求体的数据等内容,确保您的 API 用户(外部开发者)正确地实现*外部 API*。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.6K bytes - Click Count (0) -
internal/http/listener_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.12.md
- Defining minimum required documentation from each cloud provider which includes (in collaboration with SIG Docs): - example manifests for the kube-apiserver, kube-controller-manager, kube-schedule, kubelet, and the cloud-controller-manager - labels/annotations that are consumed by any cloud specific controllers
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Feb 06 06:04:15 GMT 2020 - 293.8K bytes - Click Count (0) -
docs/ko/docs/advanced/openapi-callbacks.md
## 콜백 문서화하기 { #documenting-the-callback } 실제 콜백 코드는 여러분의 API 앱에 크게 의존합니다. 그리고 앱마다 많이 달라질 수 있습니다. 다음처럼 한두 줄의 코드일 수도 있습니다: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ``` 하지만 콜백에서 가장 중요한 부분은, 여러분의 API 사용자(외부 개발자)가 콜백 요청 body로 *여러분의 API*가 보낼 데이터 등에 맞춰 *external API*를 올바르게 구현하도록 보장하는 것입니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 8.6K bytes - Click Count (0) -
cmd/test-utils_test.go
func isSameType(obj1, obj2 any) bool { return reflect.TypeOf(obj1) == reflect.TypeOf(obj2) } // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend. // Example usage: // // s := StartTestServer(t,"Erasure") // defer s.Stop() type TestServer struct { Root string Disks EndpointServerPools AccessKey string SecretKey string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java
private static final String DISTRIBUTION_SYSPROP = "tests.distribution"; private static final String BWC_DISTRIBUTION_SYSPROP = "tests.bwc-distribution"; private static final String EXAMPLE_PLUGIN_SYSPROP = "tests.example-plugin"; @Override public void apply(Project project) { project.getRootProject().getPluginManager().apply(DockerSupportPlugin.class);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Sep 28 21:31:21 GMT 2021 - 23.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/first-steps.md
這將是你建立所有 API 的主要互動點。 ### 第三步:建立一個「路徑操作」 { #step-3-create-a-path-operation } #### 路徑 { #path } 這裡的「路徑」指的是 URL 中自第一個 `/` 以後的部分。 例如,在 URL 中: ``` https://example.com/items/foo ``` ……的路徑將會是: ``` /items/foo ``` /// info 「路徑」也常被稱為「端點 endpoint」或「路由 route」。 /// 在建置 API 時,「路徑」是分離「關注點」和「資源」的主要方式。 #### 操作 { #operation }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 13.3K bytes - Click Count (0) -
docs/ru/docs/tutorial/security/oauth2-jwt.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 19.7K bytes - Click Count (0)