Giter VIP home page Giter VIP logo

Comments (4)

atrophic avatar atrophic commented on May 21, 2024

Are you setting the source parameter to a string representing the URL you wish to pull data from? It can be set, like all the other options, either as a property on the options object passed in at initialization or by setting a data-source attribute on the editable element itself.

from x-editable.

vitalets avatar vitalets commented on May 21, 2024

..but when loading source now it always adds ?name=[name] to source url.
I think I will make optional this feature to be able to define source url manually as is.

from x-editable.

vitalets avatar vitalets commented on May 21, 2024

Using POST for getting source from server now is not possible (as it's a bit against RESTfull approach).
Could you describe some details why you can not use GET for getting data in your task?
thx!

from x-editable.

pprins avatar pprins commented on May 21, 2024

Hi Vitalets, I am aware of the fact that using POST for getting data is against the REST approach and I actually want to use GET. The problem I'm facing is that many PHP frameworks clear or empty the default GET variable and the framework uses its own Input class / handler for GET requests.

Many frameworks like Symfony, CodeIgniter use a GET approach like this:

domain.com/controller/method/param1/param2/param3

So it would be a great enhancement when it's possible to define the source url manualy.
For now I've made a workaround. Thanks for your fast answer!

from x-editable.

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.