Skip to main content

Comments

8 comments

  • Larry

    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
  • Permanently deleted user

    Sorry, here is the code:
    image

    0
  • Larry

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

    0
  • Permanently deleted user

    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
  • Larry

    … 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
  • Permanently deleted user

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

    0
  • Renew Vate

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

    0
  • Renew Vate

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

    0

Please sign in to leave a comment.