Level 51
Run the code in the shared hosting.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Here's my code block.
It's sending the request and when i check the response i saw the ip is my pc's external ip.
I must send it from my shared hosting.
public function testing(){
$response = Http::acceptJson()
->withHeaders(['Authorization' => 'Bearer Token'])
->post('ip',[
'user'=> 'user',
'pass'=> 'pass!'
]);
return dd($response);
}
Please or to participate in this conversation.