i must send request to this url:
https://pos.go.thispay.com/merchantApi/m
content of request:
[
{
    "tnumb": null,
    "request": 5,
    "limitdetail": null,
    "publication": null,
    "merch": {
        "firsn": "xxx",
        "lastn": "xxx",
        "nleg": "xxx",
        "regn": "xxx",
        "ppis": null,
        "weba": "xxx",
        "meri": [
            {
                "meri": "xxx",
                "description": "ibn"
            }
        ]
]
i must be send user pass in header with basic access authentication method. please help me how i can send header with content with php?
 
    