0

i am developing an android application which is using a Laravel RESTful API, the problem is with Cloudflare. when ever the cloudflare being installed on server, i can't connect to the API and any sent request returns NULL

Note: i'm using ion khushi library for communicating with my REST API. Does anyone have suggestions about this problem?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
mahan
  • 53
  • 1
  • 6

1 Answers1

0

you need to exclude the REST API from Cloudflare caching: Using Cloudflare with your API.

also see How do I create a Page Rule?

Martin Zeitler
  • 1
  • 19
  • 155
  • 216