![]() |
You seem to misunderstand how PHP or the framework works.
> As a result of the Updater failure, I was expecting, 1) the HTTP 200 response would be sent to the external server (I have received the payload and all is OK), then 2) the Updater class would run and report any subsequent errors in normal manner. I don't know why you think like that. The Updater failure just causes 500 response. If you want to return 200 response, you must return 200 response without any error. If you want to execute the Updater class after returning 200 response, you need to use a Queue system like https://queue.codeigniter.com/ |
Messages In This Thread |
Filter - Return response error - by 68thorby68 - 08-26-2024, 03:54 AM
RE: Filter - Return response error - by seunex - 08-26-2024, 03:04 PM
RE: Filter - Return response error - by kenjis - 08-26-2024, 03:46 PM
RE: Filter - Return response error - by 68thorby68 - 09-11-2024, 06:08 AM
RE: Filter - Return response error - by ozornick - 09-11-2024, 06:37 AM
RE: Filter - Return response error - by kenjis - 09-11-2024, 06:25 PM
RE: Filter - Return response error - by 68thorby68 - 09-13-2024, 09:25 AM
|