> For the complete documentation index, see [llms.txt](https://uxper.gitbook.io/app-flutter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://uxper.gitbook.io/app-flutter/config-your-app/api-url.md).

# Update API Url

## Laravel

Open: lib/modules/services/platform/lara/lara.dart

```
class Lara extends PlatformBase {
  static const String baseUrlImage = "https://yourdomain/uploads/";

  Lara(): super(){
    baseUrl = "https://yourdomain/api/app";
    type =PlatformType.lara;
  }
}
```

***baseUrlImage***: base url to get image

***baseUrl***: base url to get data

## WordPress

Open: lib/modules/services/platform/wp/wp.dart

```
class WP extends PlatformBase {
  WP() : super() {
    baseUrl = "https://yourdomain/wp-json/wp/v2/";
  }
}
```

***baseUrl***: base url to get data

For more REST API Handbook:

<https://developer.wordpress.org/rest-api/reference/>
