I’m trying to setup a flowcard “Logica” / “Logic” to perform a POST request.
But when i try to add mutiple headers:
Content-Type: application/json, X-AUTHKEY: ABCDEF
The second header is not correctly splitup
my php $_SERVER request headers are:
'PHP_FCGI_CHILDREN' => '4',
'PWD' => '/fcgi-bin',
'SHLVL' => '0',
'PHP_FCGI_MAX_REQUESTS' => '200',
'__CF_USER_TEXT_ENCODING' => '0x1F6:0x0:0x5',
'ORIG_SCRIPT_NAME' => '/fcgi-bin/php7.2.14.fcgi',
'ORIG_PATH_TRANSLATED' => '/A/htdocs/index.php',
'ORIG_PATH_INFO' => '/index.php',
'ORIG_SCRIPT_FILENAME' => '/fcgi-bin/php7.2.14.fcgi',
'SCRIPT_NAME' => '/index.php',
'REQUEST_URI' => '/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/index.php',
'REMOTE_PORT' => '34580',
'SCRIPT_FILENAME' => '/htdocs/index.php',
'SERVER_ADMIN' => 'you@example.com',
'DOCUMENT_ROOT' => '/htdocs',
'REMOTE_ADDR' => '10.0.0.52',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.0.59',
'SERVER_NAME' => 'localhost.10.0.0.59.xip.io',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/bin:/bin:/usr/sbin:/sbin',
'HTTP_HOST' => 'localhost.10.0.0.59.xip.io',
'HTTP_CONNECTION' => 'close',
'HTTP_ACCEPT_ENCODING' => 'gzip,deflate',
'HTTP_ACCEPT' => '*/*',
**'CONTENT_TYPE' => 'application/json, X-AUTHKEY',**
'HTTP_USER_AGENT' => 'Homey',
'REDIRECT_STATUS' => '200',
'REDIRECT_HANDLER' => 'php-fastcgi',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => 1560624802.06124,
'REQUEST_TIME' => 1560624802,
is it even possible to add mutiple headers?? i’ve tried a lot of thing as the sepator:
: ; ,
but all 3 won’t work.
Does anybody know how the headers syntax is? Thanks!