Files upload.cassette 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [
  2. {
  3. "scope": "https://api.lokalise.com:443",
  4. "method": "POST",
  5. "path": "/api2/projects/803826145ba90b42d5d860.46800099/files/upload",
  6. "body": {
  7. "data": "ewogICAgImZydWl0IjogIkFwcGxlIiwKICAgICJzaXplIjogIkxhcmdlIiwKICAgICJjb2xvciI6ICJSZWQiCn0=",
  8. "filename": "test_async.json",
  9. "lang_iso": "en"
  10. },
  11. "status": 202,
  12. "response": {
  13. "project_id": "803826145ba90b42d5d860.46800099",
  14. "branch": "master",
  15. "process": {
  16. "process_id": "d217930e61f717a21f257372e7662a054f822d8e",
  17. "type": "file-import",
  18. "status": "queued",
  19. "message": "",
  20. "created_by": 20181,
  21. "created_by_email": "bodrovis@protonmail.com",
  22. "created_at": "2020-07-02 15:13:45 (Etc/UTC)",
  23. "created_at_timestamp": 1593702825
  24. }
  25. },
  26. "rawHeaders": [
  27. "Server",
  28. "nginx",
  29. "Content-Type",
  30. "application/json",
  31. "Transfer-Encoding",
  32. "chunked",
  33. "Connection",
  34. "close",
  35. "Cache-Control",
  36. "max-age=0, must-revalidate, no-cache, no-store, private",
  37. "Date",
  38. "Thu, 02 Jul 2020 15:13:45 GMT",
  39. "Location",
  40. "/api2/projects/803826145ba90b42d5d860.46800099/processes/d217930e61f717a21f257372e7662a054f822d8e",
  41. "Pragma",
  42. "no-cache",
  43. "X-Content-Type-Options",
  44. "nosniff",
  45. "X-Frame-Options",
  46. "deny",
  47. "X-XSS-Protection",
  48. "1; mode=block",
  49. "Strict-Transport-Security",
  50. "max-age=31536000",
  51. "Expires",
  52. "Thu, 02 Jul 2020 15:13:45 GMT"
  53. ],
  54. "responseIsBinary": false
  55. }
  56. ]