REST examples
-
Hey John, like your plugin a lot.
I now have the need for dynamic adding/editing of redirects.
I wanted to do this with the REST API but I can’t seem to get it to work.I have tried using
wp_remote_get()
with just the URL and I also tried some cUrl variations (which is normally my goto solution), but I can’t get any proper response with any of them.Are there any php/curl examples available somewhere ?
I just want to achieve a simple redirect from /slug1/ to /slug2/.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘REST examples’ is closed to new replies.