Injects HTML Into API Response — Cannot Return Plain Text

I’m integrating a payment gateway for testing purposes that requires the backend URL to respond only with plain text; however, when I uploaded and tried it, the HTML tags and JS were injected into the response. This is not acceptable for testing purposes with the payment gateway.

Is there any way to disable automatic HTML/JS injection?

If not, does this mean it cannot support API endpoints or server-to-server callbacks?

Thanks.

1 Like

Automated access to URLs on free hosting is not possible. We provide hosting for websites, not APIs.

9 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.