How to edit a post via api?


#1

I have a ruby script that generates the html I want to place in a post. So I need to create the topic and then be able to update it with the new data replacing the old post and the lock so it isn’t editable. Is that possible via api / automation?


(Felix Freiberger) #2

Anything that’s possible on the site can be done via the API – the site is actually consuming the API.

To get started, do the actions you want to automate in your Browser while the Dev tools are open, looking at the network requests. Usually, the requests and answers are self-explanatory once you see them :slightly_smiling:


#3

Thanks I’ll try that out :slight_smile:


#4

PERFECT!!! That worked a treat! Thanks!


(Régis Hanol) #5