Coder Social home page Coder Social logo

Comments (4)

Michael2008S avatar Michael2008S commented on May 10, 2024

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.

kpacha avatar kpacha commented on May 10, 2024

please, check my comment on this issue: luraproject/lura#194 (comment)

from krakend-ce.

Michael2008S avatar Michael2008S commented on May 10, 2024

@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.

github-actions avatar github-actions commented on May 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.