Comments

8 comments
Date Votes
  • I found the issue. My domain redirect (e.g. from mydomain.com to platform.sh-project-url) are responsible for this.

    0
  • Any solution here? I have the same issue with express.js. All Http-methods seams to be “redirected” to GET.

    0
  • … I mean you didn’t share them. Those are where the forms are defined, so an issue with how the form is getting sent to the server would be in those files. As I said, I’m fairly certain there’s nowhere that Platform.sh will convert a POST into a GET, so the issue is likely in your code somewhere.

    0
  • Thanks. I have no idea what I’m doing. I’ll try to figure it out.

    0
  • I have them in a folder named ‘templates’ in the same folder as server.py. The form page loads and I’m presented with the text box input and a submit button. But when I submit text, I’m shown the return for the GET method, not the POST method.

    image

    0
  • The form.html and data.html template pages are missing.

    0
  • Sorry, here is the code:
    image

    0
  • We don’t do any method-mangling on our end. Without seeing your actual code it’s hard to say what the issue could be, but it’s unlikely to be anything Platform.sh-related.

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post