REST API endpoint URL
-
Hey Team,
I need to know about the permalink for the REST API.
If the Permalink is the Post name, then the URL is
https://xyz.com/wp-json
If the permalink is Plain, then the URL is
https://xyz.com/?rest_route=/<endpoint>
So Can I use the always
https://xyz.com/?rest_route=/<endpoint>
Is the permalink a Plain OR Post name?Does this work in all the hostings, and is there any drawback to using the
https://xyz.com/?rest_route=/<endpoint>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘REST API endpoint URL’ is closed to new replies.