How to consume a Java API into GraphQL while the API is sending response in application/csv format

Viewed 23

The backend Java code is sending the API response in application/csv format and I need to consume it using GraphQL and I need to use the CSV response to download the response as a CSV file. How do I write a GraphQL query for the same. Thanks !

 EXAMPLE API RESPONSE
"Name #", "Description", "AGE"
"JOHN","STUDENT","22"
"BOB","TEACHER","34"
"JOEY","STUDENT","30"
0 Answers
Related