roniest / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
0 stars 0 forks source link

API explorer 'Execute' sends stale values in request body on subsequent requests even when they're deleted following the initial request #216

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a simple endpoint API
2. Visit the api explorer for the locally hosted dev server API
3. Fill out the request body with some initial values (in this case I had a few 
entries in a repeated field)
4. Execute the request
5. Delete an entry from the repeated field
6. Hit execute again

What is the expected output? What do you see instead?
I would expect the deleted entry to not appear in the 2nd request, but it does.

{
 "name": "LongDelay",
 "parameters": [
  {
   "name": "ENGAGEMENT_DELAY",
   "value": "10000"
  },
// THE ELEMENT BELOW SHOULD NOT HAVE BEEN INCLUDED
  {
   "name": "ENGAGEMENT_NOTIFIER",
   "value": "ProgressBar"
  }
 ]
}

What version of the product are you using? On what operating system?

Please provide any additional information below.

URL:
http://apis-explorer.appspot.com/apis-explorer/?base=http://localhost:8888/_ah/a
pi#p/creativetoolset/v1/creativetoolset.ctconfigs.setConfig?_h=12&resource=%257B
%250A++%2522name%2522%253A+%2522LongDelay%2522%252C%250A++%2522parameters%2522%2
53A+%250A++%255B%250A++++%257B%250A++++++%2522name%2522%253A+%2522ENGAGEMENT_DEL
AY%2522%252C%250A++++++%2522value%2522%253A+%252210000%2522%250A++++%257D%252C%2
50A++++%257B%250A++++++%2522name%2522%253A+%2522ENGAGEMENT_NOTIFIER%2522%252C%25
0A++++++%2522value%2522%253A+%2522ProgressBar%2522%250A++++%257D%250A++%255D%250
A%257D&

Original issue reported on code.google.com by bsco...@google.com on 25 Sep 2014 at 10:57

Attachments: