Home > CMS Tutorial > Empire CMS > Where is the automatic publishing interface of Empire CMS?

Where is the automatic publishing interface of Empire CMS?

下次还敢
Release: 2024-04-17 09:03:17
Original
1294 people have browsed it

The automatic publishing interface of Empire CMS is located at /e/api/web/postinfo.php. The usage steps are as follows: visit the /e/api/web/postinfo.php address and use HTTP POST to submit the article title, column ID, Data interfaces such as category ID, author and article content will return a response in JSON format, which contains the publishing results and article ID

Where is the automatic publishing interface of Empire CMS?

Empire CMS automatically publishes Interface

Q: Where is the automatic publishing interface of Empire CMS?

Answer: The automatic publishing interface of Empire CMS is located at:

  • ##/e/api/web/postinfo.php

Usage steps:

    Visit the
  1. /e/api/web/postinfo.php address in the browser.
  2. Use the HTTP POST method to submit the following data:
  3. <code>title=文章标题
    cat=栏目ID
    newsclassid=分类ID
    newsclassid2=二级分类ID
    newsclassid3=三级分类ID
    oldtitle=原文章标题(编辑文章时使用)
    username=用户名
    password=密码
    editor=编辑器
    ishtml=是否生成静态页
    zt=置顶
    pl=推荐至头条
    author=作者
    redirecturl=发布成功后跳转地址
    upfile=上传附件
    upimage=上传缩略图
    content=文章内容</code>
    Copy after login
    After submitting the data, the interface will return a response in JSON format, which contains the publishing results and article ID.

Note:

    A user name and password are required to access the automatic publishing interface, please make sure to fill them in correctly.
  • Column ID, category ID and other information can be viewed by accessing the Imperial CMS backend.
  • If you need to upload attachments or thumbnails, please use the FormData object to submit the data.

The above is the detailed content of Where is the automatic publishing interface of Empire CMS?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template