Forum Discussion

maxrussell's avatar
maxrussell
Contributor
10 years ago

Posting form values to a rest endpoint

I'm trying to POST to a REST endpoint, utilising a username and password (in order to be returned a token, for an OAuth2 Resource Owner flow).

 

When I add the various form values required as parameters, I'm not seeing them in the body of the request sent.

  • can get the GET and response working in Postman, but for some reason can't do this in SoapUI. Which is a shame, as we'd like to use SoapUI (due to the scripting support)

    • nmrao's avatar
      nmrao
      Champion Level 3
      You say get method works in Postman, then your screen shows you are trying with post method, why so?
      • maxrussell's avatar
        maxrussell
        Contributor

        I was trying to POST in both, just a mistake typing in the forum (not the tool).

         

        The actual issue was in the configuration of the endpoint.

  • Could an admin please place this under OpenSource? I appear to have posted in the incorrect area.