Error 1101 and 1103 While Fetching Response from External Website via POST Request

I’m encountering an issue while trying to send a POST request from my Niotron app to an external website and fetch a response. The URL I’m trying to send the request to is: https://*********/index.php

Issue:

  1. I’m sending a POST request with an amount from a textbox using the following format:
    Text = “amount=” + Textbox.Text
    Post text is not receiving in the web server also

  2. When I try to fetch the response, I get the following errors:

Error 1101: Unable to get a response with the specified URL.

Error 1103: Unable to complete the given request with the text “amount=3” (or any value I input).

Setup Details:

I have set the content type in my PHP file to application/json.

I am using the PostText block in Niotron to send the request.

The URL and the PHP file on the server are working fine when tested directly via a browser or Postman, but the Niotron app fails to fetch the response.

My goal is to send an amount via POST and get the generated QR code in response.

My Niotron Blocks:

Set the URL to https://*********/index.php

PostText block:
Text = join(“amount=”, Textbox.Text)

I’ve also checked the server-side CORS configuration, and it seems to be correctly set.

Here is my block image

Does anyone know the solution please help me
Or any one have relevant block setup or aia provide me

If your server accepts just POST request why are you calling Get?

1 Like

Can you DM me your URL and Postman code or example that’s working for you?

@One_for_Eighty if possible then please share any URL or request which is working for you.

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