Giter VIP home page Giter VIP logo

Comments (3)

pythondave avatar pythondave commented on August 23, 2024

This is one of those things that doesn't (currently) break with the mock server, but which does (judging by this issue) break with the real server .

I propose I do 3 things:

  1. Fix this exact issue
  2. Look for and fix any similar issues
  3. Change the demo server so that it breaks if parameters aren't serialized - i.e. so that I don't create similar issues in the future

Sound good?

from th-admin.

villarin avatar villarin commented on August 23, 2024

Fully agree!
You can also check out the post submissions for /admin/service/teacher-process method as guidance - that one works perfect!

On 3 Jul 2013, at 02:22, Ryan Randall [email protected] wrote:

This is one of those things that doesn't (currently) break with the mock server, but which does (judging by this issue) break with the real server .

I propose I do 3 things:

  1. Fix this exact issue
  2. Look for and fix any similar issues
  3. Change the demo server so that it breaks if parameters aren't serialized - i.e. so that I don't create similar issues in the future

Sound good?


Reply to this email directly or view it on GitHub.

from th-admin.

pythondave avatar pythondave commented on August 23, 2024

(for future reference)

Research:

R1) http://stackoverflow.com/questions/12190166/angularjs-any-way-for-http-post-to-send-request-parameters-instead-of-json
R2) angular/angular.js#738
R3) http://stackoverflow.com/questions/1131630/the-param-inverse-function-in-javascript-jquery

Action:

A1) Implemented as in R1 (i.e. globally), and made to work with all $http requests (this covers proposals 1 and 2). Did the same for the API viewer. Since this is global, proposal 3 is no longer necessary.
A2) Implemented R3 in serverServices.js. Will keep an eye on R2 and may substitute that in later.

from th-admin.

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.