Add a notify api

Hi,

I have a question:

My provider gives me the following code:

curl --location --request POST 'https://rest.spryngsms.com/v1/messages' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer xxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "body": "This is a test message.",
    "encoding": "auto",
    "originator": "DocsTest",
    "recipients": [
        "31612345678"
    ],
    "route": "business",
    "scheduled_at": "2019-01-01T15:00:00+00:00"
}'

I have this is configuration.yaml:

notify:

  • name: Spryng
    platform: rest
    method: POST_JSON
    resource: https://rest.spryngsms.com/v1/messages
    headers:
    Accept: application/json
    Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIzIiwianRpIjoiZDNiY2VhY2ViMDkxZGZlN2YwMmFlMzYyMTdjZjM1NzBhYjcyNzlmM2Y4ODUxYjkxZThhZTYyODNjNjViNjQxNGI1ZmQyNzU1MGIyOWQ2NTMiLCJpYXQiOiIxNjM4Mjc0MjM3LjMxMDgyNCIsIm5iZiI6IjE2MzgyNzQyMzcuMzEwODI3IiwiZXhwIjoiNDc5Mzk0NzgzNy4yODExMzYiLCJzdWIiOiI3NTg1MSIsInNjb3BlcyI6W119.XjpHJ0wnmyQ2_6UFuW05yoq_ExcCgjNno5XSJnr2XgR6dilPSPhPFCvAsjRRCzj8xJY1ALpB8kyrvVNyq_dYtitS9nNMLgHjxcfFK14ZUK853Re20EQK5cd3ZIkm_1o_jCrUvePW7gQBU-W8SOMZ-MxpBr5q_cx4HxUWmkSjKGcSPRz-K40NlUxlmvcD60wf7nlIRRhPaXOlF9v_xH1yZ7FB1516HerWbabkn7W2YDFdKlKY2Jfp0D1IocATEOOrGvyMHL9YqsWIBsysrIW5zuTMvh4dmhnQ4-W-nJgcCn0yhcdkfJhjld96PUM7RZEPxCzBIbf-pHDVRqfkZ3l0ZBrG7Rq
    Content-Type: application/json

But it dosnt work

method: POST_JSON should be method: POST?