å¤é¨APIã«ã¦ã¬ã¹ãã³ã¹ã«ã¦headerããåå¾ããå ´åããã£ãã®ã§ãåå¿é²ã¨ãã¦æ®ãã¾ãã ä»ä½ãããæ¹æ³ããã°ã§ãã $url = 'https://****.com'; $headers = array("Content-Type: application/json"); $post_data = json_encode([1 => 'a']); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); curl_setopt($ch, CURLOPT_HEADE
{{#tags}}- {{label}}
{{/tags}}