jeudi 21 janvier 2016

PUT/POST request in SOAPUI giving 403 forbidden, while same request working fine in rest client Postman

There is no authentication on server side so authentication should not be issue.

URL format: PUT https://localhost/api/v1/protections?integrationKey=111&userKey=1111&group=111&category=foo

Payload: {"action":"BLOCK"}

This is working fine in Postman. In SOAP UI , I am giving input as under: EndPoint: https://localhost Resource: /api/v1/protections Parameters:?integrationKey=111&userKey=1111&group=111&category=foo

in Media type, I am selecting "application/json" and entering {"action": "BLOCK"} but getting "Wed Jan 20 16:25:27 PST 2016:DEBUG:Receiving response: HTTP/1.1 403 Forbidden " Is there any suggestion to get the output in SOAP UI.

Aucun commentaire:

Enregistrer un commentaire