Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
DeathMarine Posted September 16, 2018 Posted September 16, 2018 is it possible to create a post using command line?
Faqole Posted September 22, 2018 Posted September 22, 2018 On 9/17/2018 at 12:37 AM, DeathMarine said: is it possible to create a post using command line? What do you mean by command line?
Aiwa Posted September 22, 2018 Posted September 22, 2018 On 9/16/2018 at 5:37 PM, DeathMarine said: is it possible to create a post using command line? No, you'd have to write your own gateway file to do this via CLI. I'm assuming you're wanting to use your community for some kind of server logging of issues?
b416 Posted September 23, 2018 Posted September 23, 2018 Posts are stored in the database. You can always send a well formatted SQL request to the database...
Aiwa Posted September 23, 2018 Posted September 23, 2018 10 minutes ago, b416 said: Posts are stored in the database. You can always send a well formatted SQL request to the database... Really bad idea... It's better to write a gateway script that uses built in methods for content management. They ensure caches are up to date, any other relational content, etc.
Stuart Silvester Posted September 24, 2018 Posted September 24, 2018 You could use CURL to send a HTTP request to the REST API... https://invisioncommunity.com/developers/rest-api?endpoint=forums/posts/POSTindex
DeathMarine Posted November 11, 2018 Author Posted November 11, 2018 On 9/24/2018 at 1:49 AM, Stuart Silvester said: You could use CURL to send a HTTP request to the REST API... https://invisioncommunity.com/developers/rest-api?endpoint=forums/posts/POSTindex didn't realize someone responded! thank you very much! i'll definitely look into that
Recommended Posts
Archived
This topic is now archived and is closed to further replies.