Comments

2 comments

  • Avatar
    Dmitry Dyudeev

    Hello,

    Our developers recommended to change the "conditions" section with the following line:

    'conditions' => json_encode([["City", "EQ", $notification->Country.", ".$notification->City]])

    As for the rest of the request, it looks absolutely fine.

  • Avatar
    uncleho

    Hi Dmitry, thanks for your tip. But in my case it is unnecessary to json_encode the conditions, since I encode the whole request in the pwCall method suggested by your FAQ.

    Your tip gave me a 210 error message on your endpoint. I switched back to my version and now it works fine ;-)

Please sign in to leave a comment.