Skip to main content

addzonerecord txt not working with spaces

Comments

5 comments

  • andrew.n
    try to use ' instead of " like or vice versa: 'txtdata="v=spf1-a-~all'
    0
  • kjg
    We tried ' and " but non of them works when there are space in txtdata unfortunatly
    0
  • kjg
    Thank you Andrew Your comment put me on the right track and I found that the old program that was the problem, use curl and without urlencodeing txt it did not work Changed to urlencode ('v=spf1 a -all') and now it works fine Time to update that program to use a little bit more modern approach, but since it now works I guess that will be later... much later :)
    0
  • andrew.n
    very well, good job :)
    0
  • cPRex Jurassic Moderator
    If there's ever an API issue, I always recommend trying the call directly on the command line to see if it processes normally there. If so, there could be other issues besides the call itself.
    0

Please sign in to leave a comment.