Get the name of the post type

I’m consuming data from a wordpress site to my ionic app using the JSON api. I usually get the data from different post type with this url :

www.mywordpress.com/api/get_posts/?post_type=artists

The problem that I have a website and I don’t know the name of the post type( I can’t access to the dashboard,it’s not my website) How can I know the name of the post type to use it with the url?

this is the posts I want to get (artists):

http://www.casting.tunisiebillet.com/artistes/

Thank you.

Read more here: Get the name of the post type

Leave a Reply

Your email address will not be published. Required fields are marked *