POST REQUEST TOOL TEST BUG
# support
h
I am trying to test my post request by defining some default values for my request bodies. However the values I define look like "0" or "1" except the first variable which is the url. In this picture normally I set limit 200 as default. After that I also included an object variable with 2 default strings "location": { "country": "US", "languages": ["en-US"] } However they got the value of first variable which is the url in the test. what is wrong? https://cdn.discordapp.com/attachments/1423245762371784824/1423245762669842534/image.png?ex=68df9c68&is=68de4ae8&hm=2f5d00576a6211d0909dc131a1b803c99d48e1d5de3bf99672e1c0f7996e0a6f& https://cdn.discordapp.com/attachments/1423245762371784824/1423245763445657670/image.png?ex=68df9c68&is=68de4ae8&hm=ff6702ea6585455631bdc0db42f1b7c1075beeb770e1dd58fa300a39134fb2d2&
c
Defining default variables in the tool will not populate the test tool, but instead fill in simple variables such as '0' or '1' for numbers and the first string value defined for all string variables. If you would like to submit a feature request to be able to define the values for the variables in the tool test function, please do so here:
h
Sorry but if you only use 1 variable with a default value, you will see that it populates the test tool
c
I apologize, what I meant to say was the testing function is capable of accepting default values and using them in the testing area, but it will reuse the first defined value and replace the values after it. So if you have the url defined as one of the string values, it will by default fill in the other string values with the first one (the url value).
2 Views