Advertisement
aaronfebruary95

curl

Dec 16th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. curl -X POST \
  2. http://localhost:8888/api/v1/posts/deleteMany \
  3. -H 'Accept: application/json, text/plain, */*' \
  4. -H 'Accept-Encoding: gzip, deflate, br' \
  5. -H 'Accept-Language: en-US,en;q=0.9,vi;q=0.8,th;q=0.7' \
  6. -H 'Authorization: sid=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJSSFBUZWFtIiwic3ViIjoiNWRkZmEzZWUwNTFmZDIxMjQ4NGY5NGRjIiwiaWF0IjoxNTc2MjIzMDQ2OTcwLCJleHAiOjE1NzY0ODIyNDY5NzB9.f8_1TbAQ9mk1CY79i1b9YMLL06rxTboZHOKi-VUCbPY; uid=5ddfa3ee051fd212484f94dc; cfr=Member;' \
  7. -H 'Cache-Control: no-cache' \
  8. -H 'Connection: keep-alive' \
  9. -H 'Content-Length: 67' \
  10. -H 'Content-Type: application/json' \
  11. -H 'Host: localhost:8888' \
  12. -H 'Origin: http://localhost:8081' \
  13. -H 'Postman-Token: 3daaaea0-238b-400b-933c-c3e26b0261c7,5dec88c8-dcff-480e-a4a6-c7db1078d980' \
  14. -H 'Referer: http://localhost:8081/post/list?size=25^&page=1' \
  15. -H 'Sec-Fetch-Mode: cors' \
  16. -H 'Sec-Fetch-Site: same-site' \
  17. -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36' \
  18. -H 'cache-control: no-cache' \
  19. -d '{
  20. "id": ["5df36a51cdde3d223c462cc2","5dea025c8ee3b83708565eaf"]
  21. }
  22. '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement