MENU
TIPS
English
TIPS
ホーム
cURL
cURL
– tag –
WordPress
cURLをwp_remote_postに変更する
先日cURLで書かれていたコードをwp_remote_postに変更したのでメモ。 cURL $params = [ 'xxx' => 'aaa' 'yyy' => 'bbb', 'zzz' => 'ccc', ]; $headers = [ 'contentType: application/json; charset=utf-8' ]; $curl = curl_init(); curl_setopt( $curl, C...
2021年2月23日
1
閉じる