• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

send POST data from custom POD to PHP server

New Here ,
Jun 06, 2012 Jun 06, 2012

Copy link to clipboard

Copied

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

Views

720

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 18, 2012 Jul 18, 2012

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines