Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

Is there a way to see the raw JSON of a POST request parameters

  • Inga svar
  • 2 har detta problem
  • 1 visning
more options

In the developer panel under network. When you make a POST request with a body. The body is pretty formatted for easy readability. However this makes it so we cant copy and paste the body as a valid JSON in order to debug the call.

For example when copying the body of a request i get

param1 value1 param2 value2 param3 value3

instead of

{

 "param1": "value1",
 "param2": "value2",
 "param3": "value3"

}

This example is very basic but for more complex calls that send in arrays and objects its nearly impossible to convert to JSON.

Thanks

In the developer panel under network. When you make a POST request with a body. The body is pretty formatted for easy readability. However this makes it so we cant copy and paste the body as a valid JSON in order to debug the call. For example when copying the body of a request i get param1 value1 param2 value2 param3 value3 instead of { "param1": "value1", "param2": "value2", "param3": "value3" } This example is very basic but for more complex calls that send in arrays and objects its nearly impossible to convert to JSON. Thanks