Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
$args = array (
'method' => 'POST',
'body' => array (
'epd_first_name' => 'Joe',
'epd_last_name' => 'Blogs',
'epd_email' => 'someone@email.com',
'demo_ref' => '310a345749514f0412adabwxfe6ee7f4',
'remote_phrase' => '91f6fd676fcc6ba2b537ac278ecc83da',
),
'headers' => array (
'phrase' => '17e0749dws98d0764646291545412481f',
)
);
$response = wp_remote_post(
'https://yourawesomesite.com/wp-json/epd/v1/epd_sites',
$args
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.