Automatically Create a DB with Rows With An API Call?

Options
Hello 👋 and Good Morning Xano'ers. 

Qq - Can we use the API call or another method to automate the creation of a database with predefined column headers?

      

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    The API can populate a database table that already has the column headers defined of course. But if you are asking for the API to create the column headers then no that is not currently supported. 
  • Inayet Hadi
    Options
    Hi , Not only create column headers in existing databases, but create new databases with headers we choose at the time of creation in a programmatic manner.   
  • hsatl
    Options
     I have a somewhat similar situation as you described in your response. I have a table in the database. I want to populate two existing columns based on response from an API in my database.  How can I go about it? Should I use a POST request and in external API select the endpoint of the API within my database?

    Is that most efficient way to go about it?
  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
     here's an example of that!