PHP Using cURL and GET request with a header
问题 There are slimier questions in the past like below. How do I send a GET request with a header from PHP? But I don't know why my code is not working. I want to get "status code 200 OK and image data in binary" by using cURL and GET request with a header. I may make mistake on debugging too. I would appreciate your any help. Thanks in advance! API refrence: https://devdocs.line.me/en/#get-content $url = "https://api.line.me/v2/bot/message/". $message_id. "/content"; $curl = curl_init("$url");