What is your goal?
My goal is to get the list of tags in the RPC
What is the problem?
Getting the
The request failed due to failure of a previous request. 400
What have you tried so far?
I have tried in my api in Postman, everything is working fine
But in the make it returns an unauthorised request, which means a token error
here is my Connection code
{
“url”: “myapi.com”,
“method”: “GET”,
“headers”: {
“Authorization”: “Basic {{base64(parameters.email + ‘:’ + parameters.password)}}”,
“Accept”: “application/json”
},
“response”: {
“accessToken”: “{{body.accessToken}}”,
"metadata": {
"type": "text",
"value": "{{body.email}}"
},
"error": {
"message": "[{{statusCode}}] {{body.message}}"
}
},
“log”: {
“sanitize”: [
“request.headers.Authorization”,
“response.body.accessToken”
]
}
}
Remote Procedure: Name of Tags : communication tab
{
“url”: “myapi.com/tags”,
“method”: “GET”,
“headers”: {
“Authorization”: “Bearer {{connection.accessToken}}”,
“Accept”: “application/json”
},
“response”: {
“iterate”: “{{body.data}}”,
“output”: {
“name”: “{{item.name}}”
}
}
}