Skip to content

BaseURL is missing to Run the app #2

@likhitha7596

Description

@likhitha7596

class BaseAPI {

static var api = base + "/api/v1";
var customersPath = api + "/customers";
static var authPath = base + "/auth";
// Map<String, String> headers = {
// "Content-Type": "application/json; charset=UTF-8"
// };

static var headers = {
'Authorization':
'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwMDAvYXBpL2F1dGgvbG9naW4iLCJpYXQiOjE2NTkxOTM2MzksImV4cCI6MTY1OTE5NzIzOSwibmJmIjoxNjU5MTkzNjM5LCJqdGkiOiJUQmVrV0RlRHVObjMzNjVvIiwic3ViIjoiMSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.Ryxv8bIXBOnRS7BO45M1y-e5rJBFjb-o7QtEVw6eo'
};
} base is not mentioned anywhere in app and baseimage also not found.
var url = '${BaseAPI.baseImage}' + '/password/email';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions