A Simple PHP POST API for Ghost to Create Blog Post using Ghost Admin API ๐
- Active Ghost Site
- Server with PHP Support for Running the API
- PHP cURL
- SSL for Secure Connection
Open config.php
file and Update API Configuration
- Create Session and Auth your Ghost site
- Just RUN the Below URL format on Brower and Create Ghost API Session
https://api.example.com/ghlogin.php
- Create a New Post - This is Just a PHP API Endpoint
https://api.example.com/post.php?title=Post%20via%20API&html=Hello%20world%20My%20new%20post%20via%20API
- User Authentication - https://ghost.org/docs/api/v3/admin/#user-authentication
- Create Post - https://ghost.org/docs/api/v3/admin/#creating-a-post
MIT