tencent cloud

Feedback

Step 1. Create blogArticle Function

Last updated: 2021-03-19 15:15:22

This document describes how to create a function and test it with APIs in the console to implement API response for blog articles.

  1. Log in to the SCF console and select Function Service on the left sidebar.
  2. At the top of the Function Service page, select the Beijing region and click Create to enter the function creating page.
    Set the following parameter information and click Next as shown below:
    • Creation method: select Template.
    • Fuzzy search: enter "APIService" and search.
      Click Learn More in the template to view relevant information in the Template Details pop-up window, which can be downloaded.
  3. The function name is automatically generated by default and can be modified as needed. In Trigger Configuration, select Create Later as shown below:
  4. Click Complete to complete function creation.

Note:

Data structures of articles are saved and simulated by the testArticleInfo variable here and are usually read from the database or file in real use cases.

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support