Hi Ruan
AFAIK, not a lot of people are using the PHP mode (it's the least
powerful of the 3 dynamic modes) so I'm not sure anybody here will have
been in your exact case.
Add to that the fact that you do NOT tell us ANYTHING about the problem
you are encountering, and you are setting yourself up for a long moment
of silence.
So.... Error message? Compilation problem? Incorrect return?
Best regards
Fabrice
On 8/8/2018 2:14 AM, Ruan wrote:
Good day
I have a PHP project and I am trying to call an API with header data.
When I use it in a Webdev Project it works 100%
cMyRequest is httpRequest
cMyRequest..URL = "
https://stuff.com/15537…=*"
cMyRequest..Header["user-key"] = "7333555822145441"
cMyResponse is httpResponse
cMyResponse = HTTPSend(cMyRequest)
vMainData is Variant
vMainData = JSONToVariant(cMyResponse.Content)
But cannot do this in PHP. Can anyone push me in the correct direction
as how to get the same outcome in PHP.
Thanks
Ruan