WordPress.org

New to Translating WordPress? Read through our Translator Handbook to get started. Hide

Translation of Development Readme (trunk): Chinese (China)

1 2 3 4
Filter ↓ Sort ↓ All (32) Untranslated (0) Waiting (47) Fuzzy (0) Warnings (10)
Prio Original string Translation
A feature plugin for core to provide Application Passwords 用于提供应用程序密码的核心功能插件 Details

Original waiting 1 warning

A feature plugin for core to provide Application Passwords
Comment

Short description.

Warning: Translation should not end on newline.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:42:45 GMT
Translated by:
zy991
Priority of the original:
high
A feature plugin for core to provide Application Passwords 用于提供应用程序密码的核心功能插件 Details
A feature plugin for core to provide Application Passwords
Comment

Short description.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:42:52 GMT
Translated by:
zy991
Priority of the original:
high
Application Passwords 应用密码 Details
Application Passwords
Comment

Plugin name.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:43:07 GMT
Translated by:
zy991
Priority of the original:
high
Application Passwords Application Passwords Details
Application Passwords
Comment

Plugin name.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 07:05:24 GMT
Translated by:
zy991
Priority of the original:
high
Installation Instructions 安装说明 Details
Installation Instructions
Comment

Found in faq header.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:43:18 GMT
Translated by:
zy991
Priority of the original:
normal
Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site. 创建新的应用程序密码后,就可以发送测试请求了。 与WordPress REST API不同,XML-RPC不要求您的用户名和密码是base64编码的。 要开始此过程,请打开终端窗口并输入以下内容: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> 在上面的示例中,将<em> USERNAME </ em>替换为您的用户名,将<em> PASSWORD </ em>替换为您的新应用程序密码。这应该输出包含您网站上所有用户的响应。 Details

Original waiting 1 warning

Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site.
Comment

Found in description paragraph.

Warning: Expected </em>, got </ em>.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:44:41 GMT
Translated by:
zy991
Priority of the original:
normal
Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site. 创建新的应用程序密码后,就可以发送测试请求了。 与WordPress REST API不同,XML-RPC不要求您的用户名和密码是base64编码的。 要开始此过程,请打开终端窗口并输入以下内容: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> 在上面的示例中,将 USERNAME 替换为您的用户名,将PASSWORD 替换为您的新应用程序密码。这应该输出包含您网站上所有用户的响应。 Details

Original waiting 1 warning

Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site.
Comment

Found in description paragraph.

Warning: Missing tags from translation.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:45:05 GMT
Translated by:
zy991
Priority of the original:
normal
Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site. Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site. Details
Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site.
Comment

Found in description paragraph.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:45:32 GMT
Translated by:
zy991
Priority of the original:
normal
Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site. 创建新的应用程序密码后,就可以发送测试请求了。 与WordPress REST API不同,XML-RPC不要求您的用户名和密码是base64编码的。 要开始此过程,请打开终端窗口并输入以下内容: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> 在上面的示例中,将<em> USERNAME </ em>替换为您的用户名,将<em> PASSWORD </ em>替换为您的新应用程序密码。这应该输出包含您网站上所有用户的响应 Details

Original waiting 1 warning

Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site.
Comment

Found in description paragraph.

Warning: Expected </em>, got </ em>.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:49:48 GMT
Translated by:
zy991
Priority of the original:
normal
Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site. 创建新的应用程序密码后,就可以发送测试请求了。 与WordPress REST API不同,XML-RPC不要求您的用户名和密码是base64编码的。 要开始此过程,请打开终端窗口并输入以下内容: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> 在上面的示例中,将<em> USERNAME </em>替换为您的用户名,将<em> PASSWORD </em>替换为您的新应用程序密码。这应该输出包含您网站上所有用户的响应 Details
Once you have created a new application password, it's time to send a request to test it. Unlike the WordPress REST API, XML-RPC does not require your username and password to be base64 encoded. To begin the process, open a terminal window and enter the following: <code>shell curl -H 'Content-Type: text/xml' -d '&lt;methodCall&gt;&lt;methodName&gt;wp.getUsers&lt;/methodName&gt;&lt;params&gt;&lt;param&gt;&lt;value&gt;1&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;USERNAME&lt;/value&gt;&lt;/param&gt;&lt;param&gt;&lt;value&gt;PASSWORD&lt;/value&gt;&lt;/param&gt;&lt;/params&gt;&lt;/methodCall&gt;' LOCALHOST</code> In the above example, replace <em>USERNAME</em> with your username, and <em>PASSWORD</em> with your new application password. This should output a response containing all users on your site.
Comment

Found in description paragraph.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:50:01 GMT
Translated by:
zy991
Priority of the original:
normal
Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit. 在上面的示例中,将 USERNAME 替换为您的用户名,将 PASSWORD 替换为您的新应用程序密码。这应该输出包含您网站上所有用户的响应。 Details

Original waiting 2 warnings

Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit.
Comment

Found in description paragraph.

Warning: Missing tags from translation.
Warning: The translation appears to be missing the following URLs: http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:46:06 GMT
Translated by:
zy991
Priority of the original:
normal
Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit. 创建新的应用程序密码后,就可以发送测试请求了。 与WordPress REST API不同,XML-RPC不要求您的用户名和密码是base64编码的。 要开始此过程,请打开终端窗口并输入以下内容: <code> curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID} </code> 在上面的示例中,将 USERNAME 替换为您的用户名,将 PASSWORD 替换为您的新应用程序密码。这应该输出包含您网站上所有用户的响应。 Details

Original waiting 2 warnings

Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit.
Comment

Found in description paragraph.

Warning: Missing tags from translation.
Warning: The translation appears to be missing the following URLs: http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code The translation contains the following unexpected URLs: http://LOCALHOST/wp-json/wp/v2/posts/POST_ID

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:46:41 GMT
Translated by:
zy991
Priority of the original:
normal
Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit. 创建新的应用程序密码后,就可以发送测试请求了。 与WordPress REST API不同,XML-RPC不要求您的用户名和密码是base64编码的。 要开始此过程,请打开终端窗口并输入以下内容: <code> curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID} </code> 运行此命令时,请务必将ACCESS_TOKEN 替换为新生成的访问令牌LOCALHOST ,其中包含本地WordPress安装的位置,以及 POST_ID 使用您要编辑的文章的ID。 Details

Original waiting 2 warnings

Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit.
Comment

Found in description paragraph.

Warning: Missing tags from translation.
Warning: The translation appears to be missing the following URLs: http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code The translation contains the following unexpected URLs: http://LOCALHOST/wp-json/wp/v2/posts/POST_ID

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:48:30 GMT
Translated by:
zy991
Priority of the original:
normal
Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit. 创建新的应用程序密码后,就可以发送测试请求了。 与WordPress REST API不同,XML-RPC不要求您的用户名和密码是base64编码的。 要开始此过程,请打开终端窗口并输入以下内容: curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID} 运行此命令时,请务必将ACCESS_TOKEN 替换为新生成的访问令牌LOCALHOST ,其中包含本地WordPress安装的位置,以及 POST_ID 使用您要编辑的文章的ID。 Details

Original waiting 2 warnings

Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit.
Comment

Found in description paragraph.

Warning: Missing tags from translation.
Warning: The translation appears to be missing the following URLs: http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code The translation contains the following unexpected URLs: http://LOCALHOST/wp-json/wp/v2/posts/POST_ID

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:48:58 GMT
Translated by:
zy991
Priority of the original:
normal
Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit. 一旦您的用户名和密码是base64编码,您现在可以使用终端窗口进行简单的REST API调用来更新帖子。 因为您正在执行POST请求,所以您需要使用新创建的base64编码访问令牌来授权请求。 如果授权正确,您会看到帖子标题更新为“新标题”。 <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> 运行此命令时,请务必将<em> ACCESS_TOKEN </em>替换为新生成的访问令牌<em> LOCALHOST </em>,其中包含本地WordPress安装的位置,以及<em> POST_ID </em> 使用您要编辑的帖子的ID。 Details
Once your username and password are base64 encoded, you are now able to make a simple REST API call using the terminal window to update a post. Because you are performing a POST request, you will need to authorize the request using your newly created base64 encoded access token. If authorized correctly, you will see the post title update to "New Title." <code>shell curl --header "Authorization: Basic ACCESS_TOKEN" -X POST -d "title=New Title" http://LOCALHOST/wp-json/wp/v2/posts/POST_ID}</code> When running this command, be sure to replace <em>ACCESS_TOKEN</em> with your newly generated access token, <em>LOCALHOST</em> with the location of your local WordPress installation, and <em>POST_ID</em> with the ID of the post that you want to edit.
Comment

Found in description paragraph.

You have to log in to edit this translation.

Meta

Status:
waiting
Date added:
2018-12-24 06:51:23 GMT
Translated by:
zy991
Priority of the original:
normal
1 2 3 4
Legend:
Current
Waiting
Fuzzy
Old
With Warnings

Export as

Skip to toolbar