question

karthikp avatar image
karthikp asked Jacob Abrams commented

Unable to make http calls from clover station 2016 dev kit

I am developing an app for clover station 2016. Since we are still in dev environment all our API calls are in http and not https. When we try to make any API call, the request is getting timed out. We have tried the same using a browser too and the following error is being displayed.

HTTP Not Allowed
For security reasons, non HTTPS URLs are not allowed. For more information, email security@clover.com

Is there any way I can disable this restriction. We are unable to test these APIs in dev environment.

PS: I have also created a self signed certificate which I cannot add into user certificates in device via adb, as again clover is restricting it.
Clover StationClover Station 2018
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jacob Abrams avatar image Jacob Abrams ♦♦ commented ·

I don't know what Clover Station 2016 is, the original Clover Station which has no EMV chip card reader or the new Clover Station 2018 which has the EMV chip reader? Also what APIs are you trying to hit: Clover APIs or your own APIs or someone else's APIs?

0 Likes 0 ·

1 Answer

Raymond Lee avatar image
Raymond Lee Deactivated answered Jacob Abrams commented
It is not possible to disable the restriction for HTTPS only when making requests to our Clover REST API; as mentioned in the error displayed, this is for security reasons.

-Raymond
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jacob Abrams avatar image Jacob Abrams ♦♦ commented ·

I don't believe this is correct. From webview we do prevent http, but for APIs there is no such limitation, HTTP should work (but of course is not recommended for production).

0 Likes 0 ·

Welcome to the
Clover Developer Community