Forum

anuragkumar
Participant
    6 years, 7 months ago #14879
    Up
    0
    Down
    ::

    @Chris, As per the documentation I see postFormat to be optional and not needed for GET request. Am I wrong here?
    Although, I have tried for both postFormat “PLAIN”as well as “JSON” but both are failing with some error as below:
    {
    “message”: “Connector Call MyRestConnector1 / getStudents produced an unexpected error during execution: Error executing connector ‘MyRestConnector1’ of type ‘REST'”,
    “success”: false
    }

    You can also refer to the attachments for the error screenshots.

    The expected data should be of json format as below:

    [{
    “name”: “Ram”,
    “age”: 16,
    “registrationNumber”: “23124”
    }]

    This is coming fine over web browser.

    Attachments:
    You must be logged in to view attached files.