Powered By Blogger

Tuesday, February 21, 2017

WP REST API plugin analysis



Auth:

https://code.tutsplus.com/tutorials/wp-rest-api-setting-up-and-using-basic-authentication--cms-24762


https://www.cloudways.com/blog/setup-basic-authentication-in-wordpress-rest-api/


http://theaveragedev.com/wp-rest-api-nonce-authentication/


API ref :

https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/posts/


Delete image :
https://github.com/WP-API/WP-API/issues/1271

https://github.com/WP-API/WP-API/issues/789

upload image:

http://wordpress.stackexchange.com/questions/209928/add-media-with-wp-rest-api-v2

http://stackoverflow.com/questions/29914974/how-to-upload-image-using-raw-in-postman

https://gyaneshwarpardhi.wordpress.com/2014/07/27/upload-images-through-rest-api/

https://gist.github.com/tjhole/3ddfc6cbf6da01c7ce0f


JWT token :

https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/

https://enriquechavez.co/json-web-token-authentication-for-wp-rest-api/

https://github.com/Tmeister/wp-api-jwt-auth

http://snypd.com/wordpress-rest-api-json-web-tokens-jwt-user-authentication/



modifying-the-json-response

https://haselt.com/wp-rest-api-modifying-the-json-response/

https://1fix.io/blog/2016/03/19/wp-api-remove-fields-listing-only/


Reroute namespace must :

https://developer.wordpress.org/reference/functions/register_rest_route/


HTTP status :

http://wordpress.stackexchange.com/questions/236249/wp-api-v2-custom-endpoint-response-formatting


POST for ref for write :

https://torquemag.io/2014/11/preparing-wordpress-site-power-single-page-web-app/


WP REST API GIT issue:

https://github.com/WP-API/WP-API/issues


Images upload :

http://wordpress.stackexchange.com/questions/28439/how-to-force-media-manager-to-overwrite-files-of-same-name

https://tommcfarlin.com/upload-files-in-wordpress/


Wordpress 4.7

https://core.trac.wordpress.org/ticket/38629

https://wordpress.org/support/topic/wordpress-4-7-custom-taxonomy-filter-stopped-working/



NGinx http_auth enable :

http://serverfault.com/questions/511206/nginx-forward-http-auth-user


Nginx header :

getallheaders not working in nginx server

<br />
<b>Fatal error</b>:  Call to undefined function getallheaders() in <b>/var/www/html/wp_magnificent/wp-content/plugins/manificient-api-nginx/lib/endpoints/class-wp-rest-posts-controller.php</b> on line <b>478</b><br />



wordpress 4.7 compatibility :

https://bewebdesign.wordpress.com/2016/06/19/demystifying-the-wordpress-rest-api-endpoints-part-i/

https://pantheon.io/blog/test-coverage-your-wp-rest-api-project


Nginx server not support force :

http://v2.wp-api.org/guide/problems/#query-parameters-are-ignored



No comments:

Post a Comment