Comments (2)
You are probably running Kong from the cloned git repo no?
so checkout the appropriate tag first, eg. get checkout 0.9.9
and then try again.
reason: you're probably now running on development code, which still reports as 0.9.9, but actually is 0.10RCx. Because in 0.10 the request_path
field was renamed to uris
.
from kong-vagrant.
@Tieske Thanks so much.
vagrant@precise64:/kong$ git checkout 0.9.9
Note: checking out '0.9.9'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 27059d4... tests(dao) fix DAO testss erroring with Cassandra
vagrant@precise64:/kong$ curl -i -X POST --url http://localhost:8001/apis/ --data 'name=mockbin' --data 'upstream_url=http://mockbin.org/request' --data 'request_path=/'
HTTP/1.1 400 Bad Request
Date: Wed, 08 Mar 2017 13:02:38 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Access-Control-Allow-Origin: *
Server: kong/0.9.9
{"request_path":"request_path is an unknown field"}
I just did what you said.
from kong-vagrant.
Related Issues (20)
- License not present HOT 1
- "Try Kong" instructions not working HOT 6
- no file at: /etc/kong/kong.conf HOT 6
- Make dev fails with latest Kong rockspec (1.1.0) due to dependency on lyaml HOT 2
- Package 'oracle-java8-installer' has no installation candidate HOT 8
- invalid parameter "transparent" in nginx-kong.conf HOT 3
- reuseport: command not found HOT 3
- `kong migrations bootstrap` fails with `Error: proxy_listen must be of form:...` HOT 2
- dev does not correspond to KONG_VERSION HOT 4
- I am curious how to recognize the external folder path of customs plugin. HOT 9
- KONG_VERSION 1.4.3 installation does not work due missing deb package HOT 2
- Tagging kong-vagrant stable versions to avoid breaking changes HOT 1
- Guru-Meditation Error on VirtualBox 6.1 HOT 3
- I can not load my custom plugins on Windows platform HOT 3
- on plugin 'myplugin': myplugin plugin is enabled but not installed HOT 2
- kong-vagrant tag policy and bintray sunset effect on older tags. HOT 3
- Silent Error HOT 3
- Installing from Vagrant idle installing HOT 5
- myplugin tests fail with "[postgres error] ERROR: relation "apis" does not exist" HOT 4
- vagrant up fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kong-vagrant.