Git Product home page Git Product logo

Comments (8)

sirdarckcat avatar sirdarckcat commented on May 3, 2024

Hi

What do you mean?

from tamperchrome.

JemiloII avatar JemiloII commented on May 3, 2024

sorry for the late reply. I wanted to have a get request that returns data from my server to be modified before it was returned.

from tamperchrome.

sirdarckcat avatar sirdarckcat commented on May 3, 2024

can you provide some more details? what type of data was it?

from tamperchrome.

JemiloII avatar JemiloII commented on May 3, 2024

it returns as json data, I work with all json apis with get, post, put, and delete.

from tamperchrome.

sirdarckcat avatar sirdarckcat commented on May 3, 2024

and you want to see how the application would behave if the data was different, right?

this is not immediately easy to implement, but it's also not impossible.. needs a bit of work.

how often do you need to do this? is this a semi-regular thing or something you just had to do once?

from tamperchrome.

JemiloII avatar JemiloII commented on May 3, 2024

It's something I'd use all the time. My entire api uses json for get, post, put, patch, and delete. Currently I use either httpMockBackend or Nock to mock my responses. but its a lot to setup just to do simple data checks. httpMockBackend is an angular bit that i must code and nock is a node.js server thing i'd have to code.

from tamperchrome.

sirdarckcat avatar sirdarckcat commented on May 3, 2024

ok, thanks.

I'll try to get to it when I have a bit of time. Technically, the way to implement this would be to send the content back to the page, store the JSON in the filesystem API and then redirect the page to there. I think this works, but I will need to confirm.

from tamperchrome.

sirdarckcat avatar sirdarckcat commented on May 3, 2024

I think that the bang-for-buck is better spent implementing #31 which will make this possible as well

from tamperchrome.

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.