Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $ch = curl_init();
  2. curl_setopt($ch, CURLOPT_URL, 'http://144.202.34.23/admin_api/v1/domains/2/check');
  3. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Api-Key: f087ba13585c7774c195f6fd0'));
  4. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  5. curl_setopt($ch, CURLOPT_POST, 1);
  6. curl_setopt($ch, CURLOPT_POSTFIELDS, '');
  7. echo curl_exec($ch);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement