Skip to content

The URL is wrong when I click the convert button #13

@mendickxiao

Description

@mendickxiao

I click the convert button, I get the error message "{message: Forbidden}"

I check the URL, I found the URL is not correct. The Submit URL is missing the stage.

The code in the index.html:

Enter a URL of a Word Doc (.doc) file to convert:

The frondend URL:
https://*.execute-api.us-east-1.amazonaws.com/Prod
The Submit URL:
https://
.execute-api.us-east-1.amazonaws.com/api/convert?document_url=https%3A%2F%2Fwww.puresec.io%2Fhubfs%2Fdocument.doc

The correct URL:
https://***.execute-api.us-east-1.amazonaws.com/Prod/api/convert?document_url=https%3A%2F%2Fwww.puresec.io%2Fhubfs%2Fdocument.doc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions