I've been asked to create a WordPress plugin that will basically show a button on the "edit" and the "new" pages of the admin panel which (when clicking the button) verify an API key (which you can set in the settings) and then send the post contents to a 3rd party.
When the 3rd party receives the text, they'll do their work on it and send it back through email to the website owner.
Now, the question is:
How do I get that button on the WP-admin on the new and edit pages of WordPress, is it even possible to get the current post's content, and send it to the 3rd party?
I'd love to hear if this is feasible (since I don't know what WordPress is capable of) and if so, if you could send me in the right direction.