Cannot send request using OneSignal REST api

I have recently used OneSignal in my corona app.

I need to create notification using OneSignal REST API.

Whenever I send the request I get “Certificate required” error, and sometimes “Timed out” error

I tried to do the same request using different networks and devices but no luck :frowning:

I tried to do the exact same request using https://reqbin.com/ ( or any online http request service ) and it worked.

What can I do ?

Thanks in advance.

I temporarily fixed the problem using luasec https request method, but I still would like to use Corona’s built in network.request function, any ideas what might be causing the problem ?