Преглед на файлове

feat: Knowledge-base-api-get-post-method-text-error-#10836 (#10837)

dajianguo преди 8 месеца
родител
ревизия
4718071cbb
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      web/app/(commonLayout)/datasets/template/template.en.mdx
  2. 1 1
      web/app/(commonLayout)/datasets/template/template.zh.mdx

+ 1 - 1
web/app/(commonLayout)/datasets/template/template.en.mdx

@@ -329,7 +329,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
   <Col sticky>
     <CodeGroup
       title="Request"
-      tag="POST"
+      tag="GET"
       label="/datasets"
       targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets?page=1&limit=20' \\\n--header 'Authorization: Bearer {api_key}'`}
     >

+ 1 - 1
web/app/(commonLayout)/datasets/template/template.zh.mdx

@@ -329,7 +329,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
   <Col sticky>
     <CodeGroup
       title="Request"
-      tag="POST"
+      tag="GET"
       label="/datasets"
       targetCode={`curl --location --request GET '${props.apiBaseUrl}/datasets?page=1&limit=20' \\\n--header 'Authorization: Bearer {api_key}'`}
     >