SHARE
TWEET

Untitled

a guest Oct 18th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. curl 'http://localhost:4200/api/schools/1' -X PUT -H 'Sec-Fetch-Mode: cors' -H 'Origin: http://localhost:4200' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7,de;q=0.6' -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiVVNFUl9DTElFTlRfUkVTT1VSQ0UiLCJVU0VSX0FETUlOX1JFU09VUkNFIl0sInVzZXJfbmFtZSI6ImFkbWluQGFwcHlvdXJzZWxmLm5ldCIsInNjb3BlIjpbImFkbWluIl0sImV4cCI6MTU3MTQyMzkxOCwidXNlciI6eyJpZCI6MSwiZmlyc3ROYW1lIjoiYWRtaW5OYW1lIiwibGFzdE5hbWUiOiJhZG1pbkxhc3ROYW1lIiwibGFuZ3VhZ2UiOiJlbiIsImVtYWlsIjoiYWRtaW5AYXBweW91cnNlbGYubmV0Iiwicm9sZXMiOlsiYWRtaW4iXSwicGVybWlzc2lvbnMiOlsidXNlcl9tYW5hZ2UiLCJzY2hvb2xfY3JlYXRlIiwic2Nob29sX2lzX3B1Ymxpc2hlZF9jaGFuZ2UiLCJzY2hvb2xfc3RhdHVzX2NoYW5nZSIsInNjaG9vbF9kZWxldGUiLCJzY2hvb2xfcmVhZCIsInNjaG9vbF9lZGl0Iiwic2Nob29sX2hpc3RvcnkiLCJzY2hvb2xfcmVhZF9ub3RfcHVibGlzaGVkIl19LCJhdXRob3JpdGllcyI6WyJzY2hvb2xfcmVhZCIsInNjaG9vbF9oaXN0b3J5Iiwic2Nob29sX2lzX3B1Ymxpc2hlZF9jaGFuZ2UiLCJzY2hvb2xfcmVhZF9ub3RfcHVibGlzaGVkIiwic2Nob29sX2NyZWF0ZSIsInNjaG9vbF9kZWxldGUiLCJhZG1pbiIsInVzZXJfbWFuYWdlIiwic2Nob29sX3N0YXR1c19jaGFuZ2UiLCJzY2hvb2xfZWRpdCJdLCJqdGkiOiI5ODQ5NzY4NC02ODgzLTQ3YmYtYjEzOS0zY2IxOTNkZmRkMDUiLCJjbGllbnRfaWQiOiJTQ0hPT0xfREJfQVBQIn0.RxaWsbtFfX67YPQi6xI99qgQIj0uhl4UqRlaF9iGmJnT-ElDmGHdZV5_ZvtNhUFLxe-DGTuznz8YTENahUGzqGk70R5EbiqDaSMK0SLz-ca-O8maM7a5l7mPiByJW852zMzUiXu17cuRRzWzrBTWP8fNcSG3BDsAlDy4eWauZvx72bKpe-IOrBLuxSszE_5tlGbxheaORisNKL__dnPuXjz1YpZgZNoV01S233F4jdrmerVLjQzoZScYe-qD1lA4cDwUd1v92x87WZC-H_G2885L9-RcT2R8Ugt-P1tc23-d0OD6zO6_OBxoa_N_nrCdXjGNJwqZYdYaWfiBDSGjRQ' -H 'Cookie: JSESSIONID=D839D99CB9E4687318AB0FB7E96B274D; JSESSIONID=E6B7F57F054F07D6C3974A18F4E208AC; splunkweb_csrf_token_8000=17785558390292731459; io=SLrv9RBHuOCo_k2fAAAA' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: application/json, text/plain, */*' -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:4200/schools/1/edit' -H 'Sec-Fetch-Site: same-origin' --data-binary '{"id":1,"isPublished":true,"status":"AVAILABLE_FOR_MODIFICATION","lat":48.9859801,"lng":8.439018400000009,"name":"Non public","basicData":{"address":{"typeOfSchool":"COMPREHENSIVE_SCHOOL","name":"name","middleName":"middle","street":"street","postalCode":"95-070","location":"location","telephoneNumber":"+48534060040","email":"sobolczyk.robert@gmail.com"},"organisingInstitution":{"schoolBoards":"CITY","localCommunity":"local","sponsorName":"sponsor"},"occupancy":{"block":true,"category":"GYM","connectivity":"BAD_CONNECTION","occupy":"FULLY_OCCUPIED","districtTeam":1,"places":null,"placesBarrierFree":null,"totalArea":null,"schoolBuildings":3,"campus":true,"availableShowersForGuests":null,"bedsRequiredAfterRegistration":5,"reasonForTheLock":"a","asOfTime":"12:00"},"vacation":{"care":false,"useOfBuilding":1,"useOfRoom":2,"careOfOrganisingInstitution":"a","roomNumbers":"3","contact":"b"},"auditorium":{"auditorium":true,"sepEntrance":true,"stage":true,"seats":1,"roomArea":null,"diningArea":false},"gyms":{"schoolGyms":true,"numberOfGyms":1,"hall1Area":null,"hall2Area":null,"kitchen":false,"seats":false,"tables":false,"seatCount":null,"plannedEventAtHall":true,"annotation":"a"}},"buildingInfrastructure":{"buildingProject":{"buildingProject":"EVENTUALLY","contact":"a","annotation":"b"},"equipment":{"places":11,"placesBarrierFree":null,"toilets":null,"toiletsBarrierFree":null,"urinals":3,"totalArea":null,"schoolBuilding":5,"campus":true,"flagpoles":null,"wasteContainers":7,"alarmSystem":true,"aedAvailable":false,"typeOfBuilding":"a","aedLocation":""},"showers":{"gyms":null,"gymsBarrierFree":null,"gymsWithSeat":null,"schools":null,"schoolsBarrierFree":null,"schoolsWithSeat":null,"availableForGuests":null},"mmb":{"elevator":"BARRIER_FREE_RESTRICTED","doorWidthsInCm":2,"bedsRequiredAfterRegistration":3,"barrierFreeEntranceToTheFollowingBuildings":"1","annotation":"a","deliveryDateOfBeds":1983600000,"pickUpTimeOfBeds":2070000000,"annotation2":"b"}},"contact":{"janitor":{"isAvailable":true,"telephoneNumber":1,"mobileNumber":2,"email":"a@a.pl","structure":"a","annotation":"b"},"schoolAdministration":{"telephoneNumber":534060040,"mobileNumber":123123,"email":"sobolczyk.robert@gmail.com"},"support":{"notificationOfDistrictTeam":true,"districtTeam":"a","mobileNumberOfDistrict":534060040,"districtMaster":"a","deputy":"b"}},"breakfastAndCleaning":{"kitchen":{"availableKitchen":true,"kitchenTenant":true,"useOfKitchen":true,"expense":12,"availableAndUsableFridge":true,"furtherKitchens":1,"seatsDinningRoom":2,"commandoBoardRation":true,"externalSeatsForTheDinningRoom":3,"externalBreakfast":"b"},"kitchenTenant":{"salutation":"MRS_MR","company":"a","name":"b","telephoneNumber":1,"email":""},"localStaffOfTheKitchenTenant":{"salutation":"MRS_MR","name":"a","telephoneNumber":1},"cleaning":{"salutation":"MRS_MR","company":"a","name":"b","telephoneNumber":"c","email":"d"},"cleaningDuringExecution":{"salutation":"MRS_MR","expense":12,"name":"a","telephoneNumber":"b","annotation":"d"},"rations":{"settlementOfBreakfast":"MANUALLY","organicBreakfast":true}},"connection":{"connections":[{"fromStation":"fromstation1","lines":[{"name":"line1","direction":"direction1","lineTo":"to1"}]},{"fromStation":"fromstation2","lines":[{"name":"line2","direction":"direction2","lineTo":"to2"}]},{"fromStation":null,"lines":[{"name":null,"direction":"","lineTo":null}]},{"fromStation":null,"lines":[{"name":null,"direction":"","lineTo":null}]}],"parkingAreas":{"bus":null,"car":null}}}' --compressed
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top