Ayebs / API_Integration

An exercise connecting to an external API and transforming the data that is passed to and from the remote API.
0 stars 0 forks source link

Prepare external request in groovy file #1

Open winniequartey opened 4 months ago

winniequartey commented 4 months ago

https://github.com/Ayebs/API_Integration/blob/5c018b992d1dab8b7874bac336c09a0683093ded/src/main/java/com/exercise/demo/service/StudentService.java#L28

The external API request format is supposed to be prepared by a method in the Groovy file. Load the Groovy file and execute the method like you did for the previous Groovy tutorial exercise.