Jump to content

Recommended Posts

Posted
On 8/26/2020 at 9:25 PM, clsource said:

check if you are using https

I just clicked the link, that the OP provided. I also tried different browsers (Firefox, latest Edge, latest Chrome) . All show an SSL error.

I am surfing from Germany and via Unitymedia/Vodafone.

Posted
1 hour ago, dotnetic said:

I just clicked the link, that the OP provided. I also tried different browsers (Firefox, latest Edge, latest Chrome) . All show an SSL error.

I am surfing from Germany and via Unitymedia/Vodafone.

Maybe is your internet provider configuration. 

https://watchmysys.com/blog/2015/01/unitymedia-is-blocking-vpn-connections/

Please try using another Internet provider maybe using 4G. Or similar network.

Thanks.

Posted

Working fine from here, germany, via hoster netcologne and also routed over different IPs via VPNs like PureVPN and CyberGhost.

@clsource and btw, nice work! ?

  • Like 1
Posted

A very neat project to learn from!
You really should deliver the pictures in a a resized version and activate lazy-loading (at least native lazyloading).

<img src="image.jpg" loading="lazy" alt="..." />

For now, the whole site has about 226 requests and needs to download about 113MB (!!!) of files.

grafik.png.ffc285c63a5c8f8aee5368383981cc49.png

  • Like 1
Posted
58 minutes ago, Manuel said:

A very neat project to learn from!
You really should deliver the pictures in a a resized version and activate lazy-loading (at least native lazyloading).


<img src="image.jpg" loading="lazy" alt="..." />

For now, the whole site has about 226 requests and needs to download about 113MB (!!!) of files.

grafik.png.ffc285c63a5c8f8aee5368383981cc49.png

Thanks this is a nice improvement ?

Now it's lazy loaded and the thumbnails are 200x200 px ?

  • Like 3
  • 2 months later...
Posted
On 8/26/2020 at 6:02 AM, clsource said:

Hello, I finished this toy project. A simple API to show data for Chilean Birds.
Used to flex my PW and React muscles, since a lot of time has passed since making something with those techs.

 

Firefox_Screenshot_2020-08-25T21-29-14_870Z.thumb.png.179ad04e12391956060fd4e0d7520e20.png

Code: https://github.com/NinjasCL/chileanbirds-api

Frontend (React): https://aves.ninjas.cl

Backend (PW): https://aves.ninjas.cl/api

Hope you like it ?

Thanks.

 

 

this is awesome. I want to create a mobile client for my website. I just need only a GET endpoint. ( I want to fetch certain number of videos ( say latest 20 videos ) from this website and show in my mobile app. ( the website https://www.bhimonlineclassroom.in/ is developed on PW3 ) . Can you please write an explanation on how to approach / develop the RESTful API with Processwire ? 

thank you @clsource

  • Like 1
  • 1 year later...
Posted
On 11/28/2020 at 4:54 PM, JeevanisM said:

this is awesome. I want to create a mobile client for my website. I just need only a GET endpoint. ( I want to fetch certain number of videos ( say latest 20 videos ) from this website and show in my mobile app. ( the website https://www.bhimonlineclassroom.in/ is developed on PW3 ) . Can you please write an explanation on how to approach / develop the RESTful API with Processwire ? 

thank you @clsource

There are different ways of making a Rest API

You can check https://github.com/Sebiworld/AppApi

and

 

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...