In my app, there is a wishlist that users can add some wishlist item with name, note, and image from the phone. And I want to send these data to the server side of DB.
Format is below..

```
 {
  "post": {
    "product name": "somename",
    "note": "description of the product",
    "image": "http://localhost/someimage.jpg",
   },
 }

```

So my question is how can i form this JSON array and POST it to server DB...
and how to code php to receive the POST request from the client side?
Thanks in advance....