Getting –Protocol “http:” not supported. Expected “https:”– error

Team, I am building an API request to use in the form component when submit is clicked

Shared an example screenshot. It is a POST request. The same request works fine in postman. But showing the protocol error in retool.

Can someone please help?

Hi @Kabilan_Ravi:

  • Are you onprem customer?
  • Do you use HTTP_PROXY?

Hi Harry,

Not onprem customer. We are using nginx proxy. The same api works with postman and curl command. No restriction in nginx side.

@Harry_Doan I found the issue. In Authorization I was supposed to give Bearer "token". Missed the work Bearer. Works now.