-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REST POST returning 302 redirect #14
Comments
Fixed the problem by creating a new Response object, setting the code to 200 and content. Problem solved.. hacked but solved. Any insight on why this was happening would still be nice. Originally posted by @AprilMedinger at zfcampus/zf-apigility-skeleton#115 (comment) |
Hello April, Clark Originally posted by @clarkphp at zfcampus/zf-apigility-skeleton#115 (comment) |
Hey Clark, I am working with April on this. We have all three of the PTF's you mentioned. Unfortunately we did not have the code working before we applied the PTF's so we have no idea if it would have worked without them. We are not running SSL in this test configuration so not sure why SSL ptf's wouid interfere. Greg Originally posted by @rdxwkpr at zfcampus/zf-apigility-skeleton#115 (comment) |
When I send a POST to my REST service it returns with a 302 redirect which simply redirects to the same URI and sends the request again as a GET. Very strange. Saw a post on stackoverflow ( http://stackoverflow.com/questions/32232127/apigility-302-found-response ) that was saying the same thing. I've updated all dependencies.. running Dev-Master (Composer screen shot attached) Platform: Zend Server 8.5 i IBMi (no rewrite rules occurring)
Also running Zend Server 8.5 on Windows PC localhost and don't have any problems with POST.
Originally posted by @AprilMedinger at zfcampus/zf-apigility-skeleton#115
The text was updated successfully, but these errors were encountered: