Search results

  1. A

    JavaScript Async / await fetch - Posting JSON data

    Hello simpleauthority and Steveskok. It turns out I was being really stupid. I wasn't formatting the input data correctly before stringifying it. I am developing an ecommerce app and the client side code function takes the argument 'id'. I didn't concatenate it with the index name. For...
  2. A

    JavaScript Async / await fetch - Posting JSON data

    Good evening all. I was hoping someone might be able to help me. I am fairly competent with JS and PHP but not so much with the fetch API which I am currently trying to get my head around. The issue is this. If I use the .then syntaxt to handle the promises everything works fine, however if...
Top