Comments (4)
BTW:
The two request is:
curl -X "POST" "http://localhost:61020/gcrpc/pmall.category.Category_backstage/ViewById" \
> -H 'Content-Type: application/json; charset=utf-8' \
> -d $'{
quote> "id": "1"
quote> }'
{"data":{"id":"1","parent_cid":"0","icon_url":"url","name":"2a2a","desc":"desc","level":"0","created_at":"2019-02-19T09:36:46.616248Z","updated_at":"2019-02-20T08:39:05.448014Z","deleted_at":null}}%
curl -X "POST" "http://localhost:61020/gcrpc/pmall.goods.Goods_backstage/ViewById" \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"id": "1"
}'
{"data":{"id":"1","name":"商品名称","detail":"商品详情","desc":"商品描述","price":100,"origin_price":100,"main_img":"","pics":[],"redeem_score":"15000","category_id":"1","category":{"@googleapis.com/pmall.category.CategoryItem","id":"1","parent_cid":"0","icon_url":"url","name":"2a2a","desc":"desc","level":"0","created_at":"2019-02-19T09:36:46.616248Z","updated_at":"2019-02-20T08:39:05.448014Z","deleted_at":null},"origin":"","stock":"111","created_at":"2019-03-01T03:05:48.753329Z","updated_at":"0001-01-01T00:00:00Z","deleted_at":null,"is_collect":false}}%
from krakend-ce.
please, check my comment on this issue: luraproject/lura#194 (comment)
from krakend-ce.
@kpacha I use the https://github.com/twitchtv/twirp framework to generate code as my backend service.
And It only generate the POST
request .So maybe I should change the code by myself 😂.
from krakend-ce.
This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.
from krakend-ce.
Related Issues (20)
- Hot reloading not working - error parsing the configuration file, unexpected end of JSON input
- v2.5 change on propagate_claims won't allow us to upgrade HOT 1
- When returning error from request modifier from backend, skips the response aggregation step.
- Error responses' Content-Type is always returned as text/plain for the client HOT 1
- Redirect to custom URL HOT 2
- Use values in body sent to gateway and send them as header values to the service HOT 2
- [HELP] make build fails with error = untyped int constant as int value in assignment (overflows) HOT 3
- auth/validator need to be configured all end points HOT 2
- Error relocating grpc-gateway.so: unsupported relocation type 7 HOT 1
- Unable to handle query string with space character(%20) , getting error HOT 2
- Simultaneous loading of client and server plugins does not load the server one HOT 1
- KrakenD returns empty response for collection endpoint HOT 1
- Error #01: context canceled HOT 2
- Unable to get headers and statuscode using the examples HOT 1
- Create a queue in rabbitmq HOT 2
- Link to 'Docs' for Endpoint Rate Limit in Designer links to a page that no longer exists HOT 1
- Moving token from querystring to header before validate it HOT 2
- How to configure Krakend to support Upload File Endpoint HOT 2
- HEAD method is not supported HOT 1
- input-query-params working bad?
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 krakend-ce.