Forum Discussion
TariqHussain
Boss
vmalla -
Below is postman collection file. Save this file as .json and import it on POSTMAN tool. After importing the file just update the URL and credentials.
{ "variables": [], "info": { "name": "DEMO TEST", "_postman_id": "e2e70e34-333c-7fd3-59a1-9489427af7de", "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "API0AuthV1", "request": { "url": { "raw": "https://community.url/restapi/vc/authentication/sessions/login?user.login=USERNAME&user.password=PASSWORD", "protocol": "https", "host": [ "community", "demo", "com" ], "path": [ "restapi", "vc", "authentication", "sessions", "login" ], "query": [ { "key": "user.login", "value": "USERNAME", "equals": true, "description": "" }, { "key": "user.password", "value": "PASSWORD!", "equals": true, "description": "" } ], "variable": [] }, "method": "GET", "body": {}, "description": "" }, "response": [] } ] }
vmalla
7 years agoAdept
Hi TariqHussain,
I'm still getting the same response !!
302 if I use get and 'Invalid Cross-Origin Request.' if I use post method.
Related Content
- 3 years ago
- 8 years ago