Hello,
Firstly, sorry for my wrong english.
I hope you can understand my problem.
i am new in slim php.
I have a very strange problem.
This simple short code snippet will show you my problem.
$app->get('/servererror', function($request, $response) {
$newResponse = $response->withStatus(500);
return $newResponse->write('Server Error!!!');
});
On my developer version it works great.
If i call it in chrome or postman or via curl i get a message with “Server Error!!!”
On my live version this will not work.
I get a 403 Forbidden.
You can try it. Call this link. https://api.lab.report:8010/servererror
Can you help me?
Can you explain what is my problem.
Thank a lot for your time.
Best greats