Cannot Connect to Web Service from postman

Dear all

I’m new on DreamFactory.
I follow the instruction “How to Connect DreamFactory to a Remote Web Service” on youtube

and I already have a API Key From Edmund, after that we put on Web service like on video.
But we whe call using GET, always error like this :
{
“error”: {
“context”: null,
“message”: “Bad request. No token or api key provided.”,
“code”: 400
}
}

When we user API Docs mysql : A MySQL database service the success

{
“resource”: [
{
“id”: 1,
“name”: “Heri”,
“phone”: “08194811373”
},
{
“id”: 3,
“name”: “Heri”,
“phone”: “08194811373”
},
{
“id”: 4,
“name”: “Bernard”,
“phone”: “08198585222”
},
{
“id”: 5,
“name”: “Bernard1”,
“phone”: “08198585000”
}
]
}

and the URL is
http://222.124.7.228:81/api/v2/mysql/_table/contact

The problems is when we call http://222.124.7.228:81/api/v2/mysql/_table/contact using postman (GET)
always error.

Please le me know, how to run the service.

Regards
Heri

hello I think this link can help you: https://wiki.dreamfactory.com/DreamFactory/API#API_Key

3 Likes

Thanks @paulo.hgf1408 for sharing that link! Did it solve your problem @Heri_Herwanto? If so, please post the answer or workaround that worked for you. It will help the community. :slight_smile:

Thanks,
@AlexBowen