Results 1 to 2 of 2

Thread: Add an MX Record — using savemxs on xml api

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    2

    Thumbs up Add an MX Record — using savemxs on xml api

    This is correct in xml api ? :

    https:my-domain.com:2087/xml-api/savemxs?api.version=2&domain='.$domain.'&name='pamx1.hotmail.com'&exchange='.$domain.'&preference=0');

    that does not work I

    Help me please. Thank

  2. #2
    Member
    Join Date
    Jul 2011
    Location
    Palmerston North, New Zealand
    Posts
    41
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Add an MX Record — using savemxs on xml api

    Nope. You must use the XMLAPI php class in order to authenticate the call.
    If you want to write your own implementation, please read the following documents as they will explain the procedures required.
    XML and JSON APIs
    ApiAuthentication < SoftwareDevelopmentKit < TWiki
    Regards
    Stefan Andres Charsley
    WebFront.co.nz

Similar Threads

  1. Add MX and CNAME records via XML/JSON API - Permissions?
    By Jason B in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-01-2012, 10:20 AM
  2. XML API 2 help
    By Dragonxito in forum cPanel Developers
    Replies: 1
    Last Post: 05-13-2011, 04:23 PM
  3. Add crontab via xml api
    By jerome.chevreau in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 11-30-2010, 08:37 AM
  4. Replies: 0
    Last Post: 04-20-2010, 03:37 PM
  5. XML API: always get login screen, not XML
    By sldff3ald in forum cPanel Developers
    Replies: 3
    Last Post: 09-19-2007, 09:29 AM