Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: EDN/Discussion Forums/Browser interface    [ Add a report in this area ]  
Report #:  140251   Status: Reported
RestRequest POST fails when redirected
Project:  EDN Build #:  24.0.25048.9432
Version:    2 Submitted By:   Erik Van Gorp
Report Type:  Basic functionality failure Date Reported:  2/2/2017 6:21:08 AM
Severity:    Critical / Show Stopper Last Updated:
Platform:    All platforms Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
When I Post To a REST server (p.e. PRESTASHOP) and the server returns a 302 FOUND (redirect), the POST is not redirected, but a GET is issued, resulting in a resources list in stead of the id of the item created.

In Delphi XE 10 Seattle, the redirect was followed by a new POST, wich worked.
Steps to Reproduce:
see included network traces
use Delphi XE 10 seatlle

Erik Van Gorp at 2/2/2017 6:24:26 AM -
duplicate of 140250, can be closed

Server Response from: ETNACODE01