#[SOLVED] PHP Function calling woes

10 messages · Page 1 of 1 (latest)

patent shoal
#

Hi,

I'm sending function calls using insomnia.

My function has inclusions, but the endpoint simply returns a string, because I am just testing the endpoints with the most minimal code.

As you can see by the screenshot, the calls are alternating between 500 and 200..... and again, outside of the attached header inclusions,

Pleaese help, what could be the problem here?

patent shoal
#

PHP Function calling woes

lavish pelican
#

Can you show the code you're using to execute the function?

patent shoal
#

sure

There is no code after the end of my if......

#

is it possible that my function is too short? the real function will create a user and some documents.

#

i program like a baby in php .... step by step

#

😄

patent shoal
#

I took out all the inclusions was less poblematic it seemed, but was still able to get 500 error

patent shoal
#

This is the message in the log Internal curl error has occurred within the executor! Error Number: 28
Error Code: 500

patent shoal
#

[SOLVED] PHP Function calling woes