WordPress.org

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

Translation of Development Readme (trunk): Nepali

1
Filter ↓ Sort ↓ All (32) Untranslated (32) Waiting (0) Fuzzy (0) Warnings (0)
Prio Original string Translation
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. You have to log in to add a translation. Details

Original untranslated

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:
untranslated
Priority of the original:
normal
1
Legend:
Current
Waiting
Fuzzy
Old
With Warnings

Export as

Skip to toolbar