{ "info": { "_postman_id": "1b901158-4228-426a-9c96-8cedc4df8470", "name": "ielts", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "26107457" }, "item": [ { "name": "Writing", "item": [ { "name": "Gen Question Writing Task 1", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/writing_task1_general", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "writing_task1_general" ] } }, "response": [] }, { "name": "Grade Answer Writing Task 1 With Context", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"question\": \"The chart below shows the amount of money per week spent on fast foods in Britain. The graph shows the trends in consumption of fast-foods. Write a report for a university lecturer describing the information shown below.\",\r\n \"answer\": \"The chart shows that high income earners consumed considerably more fast foods than the other income groups, spending more than twice as much on hamburgers (43 pence per person per week) than on fish and chips or pizza (both under 20 pence). Average income earners also favoured hamburgers, spending 33 pence per person per week, followed by fish and chips at 24 pence, then pizza at 11 pence. Low income earners appear to spend less than other income groups on fast foods, though fish and chips remains their most popular fast food, followed by hamburgers and then pizza. From the graph we can see that in 1970, fish and chips were twice as popular as burgers, pizza being at that time the least popular fast food. The consumption of hamburgers and pizza has risen steadily over the 20 year period to 1990 while the consumption of fish and chips has been in decline over that same period with a slight increase in popularity since 1985.\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/writing_task1", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "writing_task1" ] } }, "response": [] }, { "name": "Gen Question Writing Task 2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/writing_task2_general", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "writing_task2_general" ] } }, "response": [] }, { "name": "Grade Answer Writing Task 2", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"question\": \"The average standard of people's health is likely to be lower in the future than it is now. To what extent do you agree or disagree with this statement?\",\r\n \"answer\": \"I completly disagree with the written statment. I believe that most of the people in the world have more information about their health and also about how they can improve their healthy conditions. Nowadays, information about how harmful is to smoke for our bodies can be seen in many packets of cigars. This is a clear example how things can change from our recent past. There is a clear trend in the diminishing of smokers and if this continues it will have a positive impact in our health. On the other hand, the alimentation habbits are changing all over the world and this can affect people’s health. However every one can choose what to eat every day. Mostly everybody, from developed societies, know the importance of having a healthy diet. Advances such as the information showed in the menus of fast food restaurants will help people to have a clever choice before they choose what to eat. Another important issue that I would like to mention is how medicine is changing. There are new discovers and treatments almost every week and that is an inequivoque sintom of how things are changing in order to improve the world’s health.\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/writing_task2", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "writing_task2" ] } }, "response": [] } ] }, { "name": "Speaking", "item": [ { "name": "Gen Question Speaking Part 1", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/speaking_task_1", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "speaking_task_1" ] } }, "response": [] }, { "name": "Gen Question Speaking Part 2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/speaking_task_2", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "speaking_task_2" ] } }, "response": [] }, { "name": "Gen Question Speaking Part 3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/speaking_task_3", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "speaking_task_3" ] } }, "response": [] }, { "name": "Grade Answer Speaking Task", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": " {\r\n \"answers\": [\r\n {\r\n \"question\": \"How do you think technology has affected the way people communicate with each other in today's society?\",\r\n \"answer\": \"speaking_recordings/speaking_tech_1.m4a\"\r\n },\r\n {\r\n \"question\": \"In what ways has the use of smartphones and social media platforms changed the dynamics of personal relationships?\",\r\n \"answer\": \"speaking_recordings/speaking_tech_2.m4a\"\r\n },\r\n {\r\n \"question\": \"Some argue that technology has made communication more convenient, while others worry that it has led to a decline in face-to-face interactions. What's your perspective on this matter, and how do you think it might impact future generations?\",\r\n \"answer\": \"speaking_recordings/speaking_tech_3.m4a\"\r\n }\r\n ]\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/speaking_task_3", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "speaking_task_3" ] } }, "response": [] } ] }, { "name": "Reading", "item": [ { "name": "Gen Question Reading Passage 1", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/reading_passage_1?topic=football manager video game&exercises=multipleChoice&exercises=trueFalse&exercises=fillBlanks&exercises=writeBlanks", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "reading_passage_1" ], "query": [ { "key": "topic", "value": "football manager video game" }, { "key": "exercises", "value": "multipleChoice" }, { "key": "exercises", "value": "trueFalse" }, { "key": "exercises", "value": "fillBlanks" }, { "key": "exercises", "value": "writeBlanks" } ] } }, "response": [] }, { "name": "Gen Question Reading Passage 2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/reading_passage_2?topic=football manager video game&exercises=multipleChoice&exercises=trueFalse&exercises=fillBlanks&exercises=writeBlanks", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "reading_passage_2" ], "query": [ { "key": "topic", "value": "football manager video game" }, { "key": "exercises", "value": "multipleChoice" }, { "key": "exercises", "value": "trueFalse" }, { "key": "exercises", "value": "fillBlanks" }, { "key": "exercises", "value": "writeBlanks" } ] } }, "response": [] }, { "name": "Gen Question Reading Passage 3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/reading_passage_3?topic=football manager video game&exercises=multipleChoice&exercises=trueFalse&exercises=fillBlanks&exercises=writeBlanks", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "reading_passage_3" ], "query": [ { "key": "topic", "value": "football manager video game" }, { "key": "exercises", "value": "multipleChoice" }, { "key": "exercises", "value": "trueFalse" }, { "key": "exercises", "value": "fillBlanks" }, { "key": "exercises", "value": "writeBlanks" } ] } }, "response": [] } ] }, { "name": "Listening", "item": [ { "name": "Gen Question Listening Section 1", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/listening_section_1?topic=book hotel room for convention&exercises=multipleChoice&exercises=writeBlanksQuestions&exercises=writeBlanksForm&exercises=writeBlanksFill", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "listening_section_1" ], "query": [ { "key": "topic", "value": "book hotel room for convention" }, { "key": "exercises", "value": "multipleChoice" }, { "key": "exercises", "value": "writeBlanksQuestions" }, { "key": "exercises", "value": "writeBlanksForm" }, { "key": "exercises", "value": "writeBlanksFill" } ] } }, "response": [] }, { "name": "Gen Question Listening Section 2", "event": [ { "listen": "test", "script": { "exec": [ "\r", "pm.test(\"Response status code is 200\", function () {\r", " pm.expect(pm.response.code).to.equal(200);\r", "});\r", "\r", "\r", "pm.test(\"Validate the 'exercises' array is present and contains the expected number of elements\", function () {\r", " const responseData = pm.response.json();\r", " \r", " pm.expect(responseData).to.be.an('object');\r", " pm.expect(responseData.exercises).to.exist.and.to.be.an('array');\r", " pm.expect(responseData.exercises).to.have.lengthOf(3, \"Expected 'exercises' array to have 3 elements\");\r", "});\r", "\r", "" ], "type": "text/javascript" } } ], "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/listening_section_2?topic=football manager video game&exercises=writeBlanksForm&exercises=multipleChoice&exercises=writeBlanksQuestions&exercises=writeBlanksFill", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "listening_section_2" ], "query": [ { "key": "topic", "value": "football manager video game" }, { "key": "exercises", "value": "writeBlanksForm" }, { "key": "exercises", "value": "multipleChoice" }, { "key": "exercises", "value": "writeBlanksQuestions" }, { "key": "exercises", "value": "writeBlanksFill" } ] }, "description": "\nThis API endpoint allows you to retrieve a listening section for a specific exercise. The endpoint uses an HTTP GET request to the URL `http://127.0.0.1:5000/listening_section_2`. \n\nTo specify the exercises you want to retrieve, you can include the `exercises` query parameter multiple times with different values. In this example, the query parameters are set to `multipleChoice`, `writeBlanksQuestions`, and `writeBlanksFill`.\n\nThe response from the last execution of this request had a status code of 200, indicating a successful response. The response body contained a JSON object with the following structure:\n\n```json\n{\n \"exercises\": [\n {\n \"questions\": [\n {\n \"id\": \"\",\n \"options\": [\n {\n \"id\": \"\",\n \"text\": \"\"\n }\n ],\n \"prompt\": \"\",\n \"solution\": \"\",\n \"variant\": \"\"\n }\n ]\n }\n ],\n \"text\": \"\"\n}\n```\n\nThe `exercises` field in the response contains an array of exercise objects. Each exercise object has a `questions` field, which is an array of question objects. Each question object has an `id`, `options`, `prompt`, `solution`, and `variant` field.\n\nThe `text` field in the response is an empty string.\n\nPlease note that the specific values for `id`, `text`, `prompt`, `solution`, and `variant` were not provided in the response and have been omitted for privacy reasons.\n\nMake sure to include the desired exercises in the `exercises` query parameter to retrieve the listening section for those exercises.\n" }, "response": [] }, { "name": "Gen Question Listening Section 3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/listening_section_3?topic=discuss new assignment with the teacher &exercises=multipleChoice&exercises=writeBlanksQuestions&exercises=writeBlanksFill&exercises=writeBlanksForm", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "listening_section_3" ], "query": [ { "key": "topic", "value": "discuss new assignment with the teacher " }, { "key": "exercises", "value": "multipleChoice" }, { "key": "exercises", "value": "writeBlanksQuestions" }, { "key": "exercises", "value": "writeBlanksFill" }, { "key": "exercises", "value": "writeBlanksForm" } ] } }, "response": [] }, { "name": "Gen Question Listening Section 4", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "raw", "raw": "", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/listening_section_4?topic=football manager video game&exercises=multipleChoice&exercises=writeBlanksQuestions&exercises=writeBlanksFill&exercises=writeBlanksForm", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "listening_section_4" ], "query": [ { "key": "topic", "value": "football manager video game" }, { "key": "exercises", "value": "multipleChoice" }, { "key": "exercises", "value": "writeBlanksQuestions" }, { "key": "exercises", "value": "writeBlanksFill" }, { "key": "exercises", "value": "writeBlanksForm" } ] } }, "response": [] } ] }, { "name": "Fetch Answer Tips", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{jwt_token}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"question\": \"When did Kendrick Lamar sign for TDE?\",\n \"answer\": \"Hello GPT.\",\n\t\t\"correct_answer\": \"2005\",\n \"context\": \"Kendrick Lamar Duckworth (born June 17, 1987) is an American rapper and songwriter. Known for his progressive musical styles and socially conscious songwriting, he is often considered one of the most influential hip hop artists of his generation. Born and raised in Compton, California, Lamar began his career as a teenager performing under the stage name K.Dot. He quickly garnered local attention which led to him signing a recording contract with Top Dawg Entertainment (TDE) in 2005.\"\n}\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:5000/fetch_tips", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "5000", "path": [ "fetch_tips" ] } }, "response": [] } ] }