Create a simple GET endpoint Create a simple POST endpoint Authenticating the current user in a call to the endpoint A REST api request is by default non-authenticated. If you want to use things like get_current_user_id() in your endpoint handling code, you need to pass a nonce to the endpoint when calling it. If using […]
Category: Endpoints
Creating an API URL
You may want a url to be used for say remote devices to connect to your site and pass information using say URL parameters and a response string. REST API method Page method You can create a special url and trap it using the code below. However for it to work in all instances you […]
