Open salarmehr opened 5 years ago
The server.php returns null when I see it directly.
Hey, the $clockwork->returnMetadata()
method expects the request id in a "request" get parameter by default. This means you want your api endpoint set to /temp/server.php?request=
, as Clockwork apps will append the requested id to the configured endpoint uri.
@itsgoingd thanks for your response. it still does not work
It says "loading request metadata. returned an error response." How can I see the error itself?
Do you have please a minimum working example? the minimal code in the client page and server page.
Would be great if you update the plugin to show the server error too instead of saying "Server returned an error response."
I've published an example vanilla app here, let me know if it helps - https://github.com/underground-works/clockwork-examples/tree/master/Integrations/Vanilla-PHP
It says "loading request metadata. returned an error response." How can I see the error itself?
API endpoint