Hello,
I’m having trouble posting in the Wordpress Database using the module “Make an API call”, because all endoint must begin with “your-wordpress-site.com/wp-json/wp/v2/
”
But i’m trying to change data with the endpoint “your-wordpress-site.com/wp-json/tribe/events/v1/events
”
I’m surprise there isn’t options to do that
So i tried with an http request with the module http, but I have an authentification problem. Any advice would be apreciated, thanks
Aurore
1 Like
Hi @Aurore_Chatagnier this isn’t something you would specify on the action but on the connection. When establishing the connection with the wordpress app, you’ll be presented with this pop-up:
You should then be able to use input like /post/123 to retrieve or make updates to posts.
Like I said, i cannot use the wordpress module (because I can’t access the endpoint i’m interested in)…
at least for now make.com don’t have an option for other endpoints
So i figured i must use the http module (blue) to make my request. It’s on this module I have the authentication problems..
Unless you have an idea to use the wordpress api module and access another endpoint than wp-son/v2/..
It is nothing complicated, just go ahead to WordPress site and locate the section for WordPress developers then you go through their rest API documentation. Here https://developer.wordpress.org
You will see how to structure your post request.