InvalidDataException

YA1glCq

BLOCK:HttpRequest
  url = "https://***/"
  method = POST
  customHeaders = ${("Host", "***"), ("***-Session-Id", "<s>"), ("Accept", "application/json"), ("X-Client-Software", "android_notes"), ("X-Client-Version", "7.3.2"), ("Accept-Encoding", "gzip, deflate"), ("User-Agent", "okhttp/4.9.0")}
  TYPE:STANDARD
  "{\"body\":{\"getFieldsUpdateDates\":true,\"last_update_time\":1628654746,\"limit\":{\"amount\":500,\"start\":0,\"type\":\"note\"},\"returnData\":\"structure\"},\"action\":\"notes:get\",\"features\":{\"businessOrgs\":true,\"encryptedNotes\":true,\"multiplePremiums\":true,\"noteEditor\":true,\"secureAttaches\":true}}"
  "application/json"
ENDBLOCK

Could it be that BURP shows the POST as HTTP/2?

Most definitely. HTTP/2.0 is not supported yet, unless you happen to know C# and you want to use the builtin http client that .NET provides.

1 Like

Roger that. Thanks, boss.

It could also be that the server sent the response body in an unsupported compression format. I think the supported ones are deflate, gzip and brotli.

1 Like

It makes sense now. Thanks for the clarification.