Skip to main content
Participant
June 6, 2012
Question

send POST data from custom POD to PHP server

  • June 6, 2012
  • 1 reply
  • 753 views

Hi all,

I tried to send data from custom POD to PHP server with POST method. I used HTTPService component and URLLoader, but nothing happend. All attempts failed, HTTPService return "fault" and URLLoader return "0" that means I can't send data to the server.
I'm googling around during few hours... please give me some advice, how I can send data from custom POD to PHP server.

Thanks

This topic has been closed for replies.

1 reply

Participant
July 18, 2012

Figured it out, hope it will help someone
A bit tricky but it works fine, now I can send and retrive data from PHP server.

Add .htacces file in folder where deployed PHP request handler and modify it, see below:

RewriteEngine on

RewriteBase /foldername

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)\?*$ filename.php?_route_=$1 [L,QSA]

Thanks