Forum Discussion

Him's avatar
Him
Occasional Contributor
9 years ago

Re: how to pass data in the form of x-www-form-urlencoded

Hello TesterVin,

Did you find anything for this problem?

Please update your solution so I can proceed furture 

  • nmrao's avatar
    nmrao
    Champion Level 3
    Which version of ReadyAPI are you using?
    • Him's avatar
      Him
      Occasional Contributor

      Hello Rao,

      I am using "SoapUI 5.2.1".

      Concern: 
      I am using "Content type: application/x-www-form-urlencoded"

      Example Request including the API key
      curl -i https://sonar.fonix.io/v2/sendsms \
      -H X-API-KEY:test_BYZNk5YUBMLfowSOQTUuqq3t \
      -d ORIGINATOR=84988 \
      -d NUMBERS=447111222333 \
      -d BODY=Hello+World


      Content-type: application/x-www-form-urlencoded

      Please check attached image for SoapUI responce

      • nmrao's avatar
        nmrao
        Champion Level 3

        Even the same result is seen using curl, do you see different?

        So the question - is the key valid? 

         

        curl.png