You must use OAuth 1.0a "one-legged" authentication to ensure REST API credentials cannot be intercepted by an attacker. You can specify the callback using the ?_jsonp parameter for GET requests to have the response wrapped in a JSON function: JSONP responses use the application/javascript content-type. The WP REST API supports JSONP by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |