myhomie_app/mycore_api/doc/FacebookApi.md
2021-12-01 15:41:22 +01:00

1.4 KiB

mycoreapi.api.FacebookApi

Load the API package

import 'package:mycoreapi/api.dart';

All URIs are relative to http://192.168.31.140

Method HTTP request Description
facebookCreate POST /facebook

facebookCreate

MultipartFile facebookCreate(facebookAuthModel)

Example

import 'package:mycoreapi/api.dart';
// TODO Configure OAuth2 access token for authorization: bearer
//defaultApiClient.getAuthentication<OAuth>('bearer').accessToken = 'YOUR_ACCESS_TOKEN';

final api_instance = FacebookApi();
final facebookAuthModel = FacebookAuthModel(); // FacebookAuthModel | 

try { 
    final result = api_instance.facebookCreate(facebookAuthModel);
    print(result);
} catch (e) {
    print('Exception when calling FacebookApi->facebookCreate: $e\n');
}

Parameters

Name Type Description Notes
facebookAuthModel FacebookAuthModel

Return type

MultipartFile

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/octet-stream

[Back to top] [Back to API list] [Back to Model list] [Back to README]