Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. curl 'https://127.0.0.1:8181/exam/rest/secure/spec/' -H 'Pragma: no-cache' -H 'Origin: https://127.0.0.1:8181' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.9' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36' -H 'Content-type: application/json' -H 'Accept: application/json;charset=UTF-8' -H 'Cache-Control: no-cache' -H 'Referer: https://127.0.0.1:8181/exam/specification/new/block/new068xpo' -H 'Cookie: profile_id=5787352; udacl=mesh; auth_token=8aad849d13c809bae75b7aa22de500a1' -H 'Connection: keep-alive' --data-binary '{"id":null,"basic_info":{"name":"sdssd","description":"sddsds","studying_level_id":3,"subjects":[{"subject_id":57,"education_level_id":2}],"author":null,"folder_id":747},"test_parameters":{"test_groups_count":1,"test_duration":30,"test_variants_count":1,"testing_order":"seriatim","test_auto_creation":false,"allow_variants_generation_to_everyone":true,"tasks_distributions_preset":[]},"test_groups":[{"id":null,"name":"Блок без названия","position":0,"weight":100,"questions_per_variant_count":1,"controllable_items":[{"id":30556,"name":"null","code":"null"}],"tasks":[{"meta":{"name":"Test123321","studying_level_id":null,"subjects":[],"author":null,"folder_id":null},"test_task":{"id":null,"temp_id":"new6x1k1n","question_elements":[{"content":[],"text":"Test123321","text_styles":[],"type":"content/text"}],"answer":{"type":"answer/single","options":[{"id":"2pse85","text":"Test123321","content":[{"type":"content/file","file":{"id":null,"type":"file/image","source":"inner","relative_url":"/eom-tmp-static/7bf30c71-5d22-4975-b669-710f17099dbfpexels_photo_414612.jpeg"}}],"text_styles":[]}],"text_position":[],"right_answer":{"id":"2pse85"},"source_label":"","target_label":"","group_options":[{"id":"2pse85","text":"Test123321","content":[{"type":"content/file","file":{"id":null,"type":"file/image","source":"inner","relative_url":"/eom-tmp-static/7bf30c71-5d22-4975-b669-710f17099dbfpexels_photo_414612.jpeg"}}],"text_styles":[]}]}},"task_num":0}]}]}' --compressed --insecure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement