Add database tables, send email route, and accept pledge route
You will have to re-activate the plugin to create the tables.
Test with:
curl -d '{"mp_parliament_uk_id":4, "sender_email":"a", "sender_name":"jane", "sender_address":"london"}' 'http://futuregenerations.localhost/wp-json/pledge-tracker/v1/email-mp' -H "Content-type: application/json"
Grab the token:
SELECT pledge_token FROM wp_mp_pledge_status;
curl -X PUT -d '{"mp_parliament_uk_id":4, "pledge_token":"PLEDGE_TOKEN"}' 'http://futuregenerations.localhost/wp-json/pledge-tracker/v1/email-mp' -H "Content-type: application/json"