curl -k --cookie cookies.txt -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" "https://192.168.1.1/xml_action.cgi?method=set" -d "<?xml version="1.0" encoding="US-ASCII"?> <RGW><param><method>call</method><session>000</session><obj_path>sim</obj_path><obj_method>set_sim_mep</obj_method></param><sim><pin_puk><mep_action>6</mep_action><mep_pswd>123456</mep_pswd></pin_puk></sim></RGW>"