deleted post cause of privacy.
all field except "type" should put inside array call "data", try modified $post_data to
$post_data = array( "type" => "srv", "data" => "{"name":"ss2.minefarm.pw","weight":"1","priority":"1","target":"a-ss.minefarm.pw","service":"_minecraft","proto":"_tcp","port":"25565","ttl" :"1"}" );
it should work.
Comments
Post a Comment