...
Code Block | ||
---|---|---|
| ||
curl --location 'https://auth.iims.ipobs.acc.web1.wipo.int/oauth2/token' \ --header 'Authorization: Basic '$(echo -n 'username:password' | base64 -w 0) \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Cookie: XSRF-TOKEN=c5d3f08b-3386-4576-9f97-75f9587699a8' \ --data-urlencode 'grant_type=client_credentials' |
Response:
...
Code Block | ||||
---|---|---|---|---|
| ||||
{"access_token":"eyJraWQiOiJma0NLNzBMVmJPYytzU2t0UzJnanJobVhQTE8xYzNVNUwrS2d0U1VaNW5FPSIsImFsZyI6IlJTMjU2In0.e.....","expires_in":3600,"token_type":"Bearer"} |